diff --git a/.github/workflows/rust-cache/action.yml b/.github/workflows/rust-cache/action.yml index cc0d676..95da0ce 100644 --- a/.github/workflows/rust-cache/action.yml +++ b/.github/workflows/rust-cache/action.yml @@ -6,7 +6,7 @@ runs: using: "composite" steps: - name: configure sccache - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); @@ -14,7 +14,7 @@ runs: core.exportVariable('SCCACHE_GHA_CACHE_TO', 'sccache-${{ runner.os }}-${{ github.ref_name }}'); core.exportVariable('SCCACHE_GHA_CACHE_FROM', 'sccache-${{ runner.os }}-main,sccache-${{ runner.os }}-'); - name: cargo registry cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.toml') }}-${{ github.sha }} restore-keys: |