mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-21 05:29:31 -07:00
fix(build.yml): add restore-keys to cache action to allow fallback to previous cache versions if current cache is not available
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -68,7 +68,8 @@ jobs:
|
|||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ./exampleSite/resources
|
path: ./exampleSite/resources
|
||||||
key: ${{ runner.os }}-hugo-
|
key: ${{ runner.os }}-hugo-${{ hashFiles('./exampleSite') }}
|
||||||
|
restore-keys: ${{ runner.os }}-hugo-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|||||||
Reference in New Issue
Block a user