diff --git a/.github/workflows/gatsby-build.yml b/.github/workflows/gatsby-build.yml index d2dbf23e2..1ddb54e04 100644 --- a/.github/workflows/gatsby-build.yml +++ b/.github/workflows/gatsby-build.yml @@ -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: | @@ -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