mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09: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
|
||||
with:
|
||||
path: ./exampleSite/resources
|
||||
key: ${{ runner.os }}-hugo-
|
||||
key: ${{ runner.os }}-hugo-${{ hashFiles('./exampleSite') }}
|
||||
restore-keys: ${{ runner.os }}-hugo-
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
Reference in New Issue
Block a user