We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 472d01f commit b714bb2Copy full SHA for b714bb2
.github/actions/setup-bun/action.yml
@@ -3,12 +3,13 @@ description: "Setup Bun with caching and install dependencies"
3
runs:
4
using: "composite"
5
steps:
6
- - name: Mount Bun Cache
7
- if: ${{ runner.os == 'Linux' }}
8
- uses: useblacksmith/stickydisk@v1
+ - name: Cache Bun dependencies
+ uses: actions/cache@v4
9
with:
10
- key: ${{ github.repository }}-bun-cache-${{ runner.os }}
11
- path: ~/.bun
+ path: ~/.bun/install/cache
+ key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
+ restore-keys: |
12
+ ${{ runner.os }}-bun-
13
14
- name: Setup Bun
15
uses: oven-sh/setup-bun@v2
0 commit comments