diff --git a/.github/workflows/detect-breaking-changes-build.yml b/.github/workflows/detect-breaking-changes-build.yml index dd4049e869e0b..4bb07b705b04e 100644 --- a/.github/workflows/detect-breaking-changes-build.yml +++ b/.github/workflows/detect-breaking-changes-build.yml @@ -20,7 +20,7 @@ jobs: run: echo "::set-output name=dir::$(yarn config get cacheFolder)" - name: Restore yarn cache - uses: actions/cache@v2 + uses: actions/cache@v3.0.11 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -61,7 +61,7 @@ jobs: run: echo "::set-output name=dir::$(yarn config get cacheFolder)" - name: Restore yarn cache - uses: actions/cache@v2 + uses: actions/cache@v3.0.11 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b809b1030e102..aa45e6679d65a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,7 +24,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn config get cacheFolder)" - - uses: actions/cache@v2.1.7 + - uses: actions/cache@v3.0.11 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: yarn-${{ hashFiles('**/yarn.lock') }}