mirror of
https://github.com/rust-unofficial/awesome-rust
synced 2024-11-21 19:33:10 +00:00
Make key unique per run attempt
This commit is contained in:
parent
bafae0bdeb
commit
5e8c558e88
1 changed files with 3 additions and 2 deletions
5
.github/workflows/rust.yml
vendored
5
.github/workflows/rust.yml
vendored
|
@ -24,8 +24,9 @@ jobs:
|
|||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: results/*.yaml
|
||||
key: results-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('README.md') }}-${{ github.run_id }}
|
||||
key: results-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('README.md') }}-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
restore-keys: |
|
||||
results-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('README.md') }}-${{ github.run_id }}-
|
||||
results-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('README.md') }}-
|
||||
results-${{ hashFiles('Cargo.lock') }}-
|
||||
results-
|
||||
|
@ -44,6 +45,6 @@ jobs:
|
|||
if: always() && (github.ref == 'refs/heads/main' || github.ref == 'refs/pull/1716/merge')
|
||||
with:
|
||||
path: results/*.yaml
|
||||
key: results-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('README.md') }}-${{ github.run_id }}
|
||||
key: results-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('README.md') }}-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue