diff --git a/action.yaml b/action.yaml index 5de3d79..6638515 100644 --- a/action.yaml +++ b/action.yaml @@ -48,7 +48,7 @@ runs: echo "NPM_GLOBAL_CACHE_FOLDER=$(npm config get cache)" >> $GITHUB_OUTPUT - name: Restore yarn cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-download-cache with: path: ${{ steps.yarn-config.outputs.CACHE_FOLDER }} @@ -59,7 +59,7 @@ runs: - name: Restore node_modules if: inputs.cache-node-modules == 'true' id: yarn-nm-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ inputs.cwd }}/**/node_modules key: yarn-nm-cache-${{ inputs.cache-prefix }}-${{ runner.os }}-${{ steps.yarn-config.outputs.CURRENT_NODE_VERSION }}-${{ steps.yarn-config.outputs.CURRENT_BRANCH }}-${{ hashFiles(format('{0}/yarn.lock', inputs.cwd), format('{0}/.yarnrc.yml', inputs.cwd)) }} @@ -67,7 +67,7 @@ runs: - name: Restore global npm cache folder if: inputs.cache-npm-cache == 'true' id: npm-global-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.yarn-config.outputs.NPM_GLOBAL_CACHE_FOLDER }} key: npm-global-cache-${{ inputs.cache-prefix }}-${{ runner.os }}-${{ steps.yarn-config.outputs.CURRENT_NODE_VERSION }}-${{ hashFiles(format('{0}/yarn.lock', inputs.cwd), format('{0}/.yarnrc.yml', inputs.cwd)) }} @@ -75,7 +75,7 @@ runs: - name: Restore yarn install state if: inputs.cache-install-state == 'true' && inputs.cache-node-modules == 'true' id: yarn-install-state-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ inputs.cwd }}/.yarn/ key: yarn-install-state-cache-${{ inputs.cache-prefix }}-${{ runner.os }}-${{ steps.yarn-config.outputs.CURRENT_NODE_VERSION }}-${{ steps.yarn-config.outputs.CURRENT_BRANCH }}-${{ hashFiles(format('{0}/yarn.lock', inputs.cwd), format('{0}/.yarnrc.yml', inputs.cwd)) }}