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