Skip to content

Commit

Permalink
update cache
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinbui committed Jan 18, 2024
1 parent 1d2b6dc commit 250a40e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/gatsby-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ jobs:
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- name: 🧶 Get Yarn cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
save-always: true
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
Expand All @@ -57,8 +58,9 @@ jobs:
run: yarn lint:md

- name: 🥡 Getting Gatsby cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
save-always: true
path: |
public
.cache
Expand Down

0 comments on commit 250a40e

Please sign in to comment.