# stage1 caching: don't write manifest until cache release · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/148fe2e99970ca880a8e10ded5af308e28bbc342)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 148fe2e99970ca880a8e10ded5af308e28bbc342

Requested commit: 148fe2e99970ca880a8e10ded5af308e28bbc342

Commit: 148fe2e99970ca880a8e10ded5af308e28bbc342

Tree: 0101a3deeb5374ca34dc33dfe4ad81b63033e51d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage1 caching: don't write manifest until cache release

this prevents the situation where we determine the cache
manifest and write it, but then crash or otherwise error out
before putting the artifacts in the proper place.

now the artifacts will be in place because cache_release
happens after that step is done.

```

## Parents

- [8c77c5705f41e55a5f2d80db20270d0c644338ed](https://git.cafe/gitcafe/zig/commit/8c77c5705f41e55a5f2d80db20270d0c644338ed?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/148fe2e99970ca880a8e10ded5af308e28bbc342?format=markdown)
