mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
ci: upgrade bun cache to stickydisk for faster ci builds
This commit is contained in:
parent
bbc7bdb3fd
commit
1f3bf56640
9
.github/actions/setup-bun/action.yml
vendored
9
.github/actions/setup-bun/action.yml
vendored
@ -8,14 +8,11 @@ runs:
|
|||||||
with:
|
with:
|
||||||
bun-version-file: package.json
|
bun-version-file: package.json
|
||||||
|
|
||||||
- name: Cache ~/.bun
|
- name: Mount Bun Cache
|
||||||
id: cache-bun
|
uses: useblacksmith/stickydisk@v1
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
with:
|
||||||
|
key: ${{ github.repository }}-bun-cache
|
||||||
path: ~/.bun
|
path: ~/.bun
|
||||||
key: ${{ runner.os }}-bun-${{ hashFiles('package.json') }}-${{ hashFiles('bun.lockb', 'bun.lock') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-bun-${{ hashFiles('package.json') }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install
|
run: bun install
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user