diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 23488e8d53..e8d7fb3880 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -18,7 +18,7 @@ jobs: id: npm-cache run: | echo "::set-output name=dir::$(npm config get cache)" - - uses: actions/cache@v2 + - uses: actions/cache@v3.0.11 if: github.event_name == 'push' with: path: ${{ steps.npm-cache.outputs.dir }} @@ -26,7 +26,7 @@ jobs: restore-keys: | ${{ runner.os }}-node-push-${{ hashFiles('**/package-lock.json') }} ${{ runner.os }}-node-push- - - uses: actions/cache@v2 + - uses: actions/cache@v3.0.11 if: github.event_name == 'pull_request' with: path: ${{ steps.npm-cache.outputs.dir }} diff --git a/.github/workflows/preflight-checks.yaml b/.github/workflows/preflight-checks.yaml index 05a0642e79..68fbe16f17 100644 --- a/.github/workflows/preflight-checks.yaml +++ b/.github/workflows/preflight-checks.yaml @@ -90,7 +90,7 @@ jobs: id: npm-cache run: | echo "::set-output name=dir::$(npm config get cache)" - - uses: actions/cache@v2 + - uses: actions/cache@v3.0.11 if: github.event_name == 'push' with: path: ${{ steps.npm-cache.outputs.dir }} @@ -98,7 +98,7 @@ jobs: restore-keys: | ${{ runner.os }}-node-push-${{ hashFiles('**/package-lock.json') }} ${{ runner.os }}-node-push- - - uses: actions/cache@v2 + - uses: actions/cache@v3.0.11 if: github.event_name == 'pull_request' with: path: ${{ steps.npm-cache.outputs.dir }}