mirror of
https://github.com/actions/cache.git
synced 2026-03-04 08:31:03 +08:00
Compare commits
4 Commits
29f6ce75a7
...
ae346f7ee2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae346f7ee2 | ||
|
|
5656298164 | ||
|
|
4e380d19e1 | ||
|
|
63d8658a94 |
@ -140,7 +140,7 @@ jobs:
|
||||
run: /primes.sh -d prime-numbers
|
||||
```
|
||||
|
||||
The `cache` action provides a `cache-hit` output which is set to `true` when the cache is restored using the primary `key` and `false` when the cache is restored using `restore-keys` or no cache is restored.
|
||||
The `cache` action provides a `cache-hit` output which is set to `true` when the cache is restored using the primary `key` and `false` when the cache is restored using `restore-keys`. If no cache is restored, it is set to the empty string.
|
||||
|
||||
#### Using a combination of restore and save actions
|
||||
|
||||
|
||||
@ -49,7 +49,7 @@
|
||||
with:
|
||||
path: |
|
||||
~/.bun/install/cache
|
||||
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
|
||||
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
|
||||
```
|
||||
|
||||
### Windows
|
||||
@ -59,7 +59,7 @@
|
||||
with:
|
||||
path: |
|
||||
~\.bun
|
||||
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
|
||||
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
|
||||
```
|
||||
|
||||
## C# - NuGet
|
||||
|
||||
Loading…
Reference in New Issue
Block a user