mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 01:00:34 +08:00
CI: save cache on each run
This commit is contained in:
parent
c85f9fac0c
commit
e4e51b69a1
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -21,8 +21,12 @@ jobs:
|
|||||||
- name: Cache cache.db
|
- name: Cache cache.db
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: .cache
|
path: |
|
||||||
key: ${{ runner.os }}-v1
|
.cache
|
||||||
|
key: ${{ runner.os }}-v1-${{ github.sha }}
|
||||||
|
# If source files changed but packages didn't, rebuild from a prior cache.
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-v1
|
||||||
- run: bun install
|
- run: bun install
|
||||||
- run: bun run build
|
- run: bun run build
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user