diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24e9b03..7426321 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" - name: Cache yarn cache - uses: actions/cache@v2 + uses: actions/cache@v4 id: cache-yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -34,7 +34,7 @@ jobs: ${{ runner.os }}-yarn- - name: Cache node_modules id: cache-node-modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e8ed39..24360e5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" - name: Cache yarn cache - uses: actions/cache@v2 + uses: actions/cache@v4 id: cache-yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -36,7 +36,7 @@ jobs: ${{ runner.os }}-yarn- - name: Cache node_modules id: cache-node-modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }}