1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-05-31 03:50:22 +02:00

update examples.md for Bun v1.2 lockfile format

Bun v1.2 now uses the text-based `bun.lock` as its default lockfile format. Adjusted the action-cache examples to reference and cache `bun.lock` instead of the previous binary format.
This commit is contained in:
LoBe 2025-05-14 22:21:05 +02:00 committed by GitHub
parent 5a3ec84eff
commit bace1e956c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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