mirror of
https://github.com/actions/cache.git
synced 2026-03-01 08:11:03 +08:00
Compare commits
5 Commits
3cce88c854
...
89e0c28b9f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
89e0c28b9f | ||
|
|
5656298164 | ||
|
|
4e380d19e1 | ||
|
|
3a277b5a1b | ||
|
|
2bfeb8393e |
@ -179,6 +179,8 @@ jobs:
|
||||
|
||||
> **Note**
|
||||
> You must use the `cache` or `restore` action in your workflow before you need to use the files that might be restored from the cache. If the provided `key` matches an existing cache, a new cache is not created and if the provided `key` doesn't match an existing cache, a new cache is automatically created provided the job completes successfully.
|
||||
>
|
||||
> The save path must match the restore path, see [Cache Version](#cache-version) below.
|
||||
|
||||
## Caching Strategies
|
||||
|
||||
|
||||
@ -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