diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e6cd880..972a2a6 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -28,7 +28,7 @@ jobs: id: yarn-cache-dir-path run: echo "dir=$(./.yarn/releases/yarn-4.4.1.cjs config get cacheFolder)" >> $GITHUB_OUTPUT - - uses: actions/cache@v4 + - uses: actions/cache@v5 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} diff --git a/.github/workflows/version-bump.yaml b/.github/workflows/version-bump.yaml index bd8282e..efed4a6 100644 --- a/.github/workflows/version-bump.yaml +++ b/.github/workflows/version-bump.yaml @@ -33,7 +33,7 @@ jobs: - name: cache all node_modules id: cache-modules - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: '**/node_modules' key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }} @@ -44,7 +44,7 @@ jobs: run: echo "dir=$(./.yarn/releases/yarn-4.4.1.cjs config get cacheFolder)" >> $GITHUB_OUTPUT - name: cache global yarn cache - uses: actions/cache@v4 + uses: actions/cache@v5 if: steps.cache-modules.outputs.cache-hit != 'true' with: path: ${{ steps.yarn-cache.outputs.dir }}