diff --git a/.github/workflows/mock-project-build.yml b/.github/workflows/mock-project-build.yml index 41c1681fda..9045c89a5b 100644 --- a/.github/workflows/mock-project-build.yml +++ b/.github/workflows/mock-project-build.yml @@ -22,7 +22,7 @@ jobs: - uses: utooland/setup-utoo@v1 - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: path: ~tmpProj/yarn.lock key: primes-${{ runner.os }}-${{ github.run_id }} @@ -40,7 +40,7 @@ jobs: - name: Download success lock file as `success.lock` if: ${{ failure() }} - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: ~tmpProj/yarn.lock key: primes-${{ runner.os }}-${{ github.run_id }} diff --git a/.github/workflows/test-v6.yml b/.github/workflows/test-v6.yml index dc7ff6c7fa..d0496fbb33 100644 --- a/.github/workflows/test-v6.yml +++ b/.github/workflows/test-v6.yml @@ -96,7 +96,7 @@ jobs: - run: ut - name: restore cache from dist - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: dist key: dist-${{ github.sha }} @@ -146,13 +146,13 @@ jobs: - run: ut - name: cache lib - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: lib key: lib-${{ github.sha }} - name: cache es - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: es key: es-${{ github.sha }} @@ -161,7 +161,7 @@ jobs: run: ut compile - name: cache dist - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: dist key: dist-${{ github.sha }} @@ -213,7 +213,7 @@ jobs: - name: restore cache from ${{ matrix.module }} # lib only run in master branch not in pull request if: ${{ github.event_name != 'pull_request' || matrix.module != 'lib' }} - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ matrix.module }} key: ${{ matrix.module }}-${{ github.sha }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c22271d0f9..f106ae715b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -99,7 +99,7 @@ jobs: - run: ut - name: restore cache from dist - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: dist key: dist-${{ github.sha }} @@ -151,13 +151,13 @@ jobs: - run: ut - name: cache lib - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: lib key: lib-${{ github.sha }} - name: cache es - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: es key: es-${{ github.sha }} @@ -166,7 +166,7 @@ jobs: run: ut compile - name: cache dist - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: dist key: dist-${{ github.sha }} @@ -218,7 +218,7 @@ jobs: - name: restore cache from ${{ matrix.module }} # lib only run in master branch not in pull request if: ${{ github.event_name != 'pull_request' || matrix.module != 'lib' }} - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ matrix.module }} key: ${{ matrix.module }}-${{ github.sha }}