Skip to content

Commit 8956040

Browse files
committed
fix(readme): update example
- bump nix-quick-install-action version to v30 - improve explanation for the purge-created and purge-primary-key inputs
1 parent 10794da commit 8956040

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ See [Caching Approaches](#caching-approaches).
7474
> For purging, the workflow or the job must have the [permission](https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#permissions) `actions: write`.
7575
7676
```yaml
77-
- uses: nixbuild/nix-quick-install-action@v29
77+
- uses: nixbuild/nix-quick-install-action@v30
7878

7979
- uses: nix-community/cache-nix-action@v6
8080
with:
@@ -90,9 +90,10 @@ See [Caching Approaches](#caching-approaches).
9090
purge: true
9191
# purge all versions of the cache
9292
purge-prefixes: nix-${{ runner.os }}-
93-
# created more than this number of seconds ago relative to the start of the `Post Restore` phase
93+
# created more than this number of seconds ago
94+
# relative to the start of the `Post Restore and save Nix store` phase
9495
purge-created: 0
95-
# except the version with the `primary-key`, if it exists
96+
# except any version with the key that is the same as the `primary-key`
9697
purge-primary-key: never
9798
```
9899

0 commit comments

Comments
 (0)