Skip to content

Commit 1f3bf56

Browse files
thdxropencode
authored andcommitted
ci: upgrade bun cache to stickydisk for faster ci builds
1 parent bbc7bdb commit 1f3bf56

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/actions/setup-bun/action.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,11 @@ runs:
88
with:
99
bun-version-file: package.json
1010

11-
- name: Cache ~/.bun
12-
id: cache-bun
13-
uses: actions/cache@v4
11+
- name: Mount Bun Cache
12+
uses: useblacksmith/stickydisk@v1
1413
with:
14+
key: ${{ github.repository }}-bun-cache
1515
path: ~/.bun
16-
key: ${{ runner.os }}-bun-${{ hashFiles('package.json') }}-${{ hashFiles('bun.lockb', 'bun.lock') }}
17-
restore-keys: |
18-
${{ runner.os }}-bun-${{ hashFiles('package.json') }}-
1916

2017
- name: Install dependencies
2118
run: bun install

0 commit comments

Comments
 (0)