Skip to content

Commit

Permalink
ensure cargo cache keys match
Browse files Browse the repository at this point in the history
  • Loading branch information
schell committed Jan 8, 2025
1 parent ca84130 commit cf70d25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- uses: actions/cache@v4
with:
path: ~/.cargo
# THIS KEY MUST MATCH BELOW
key: cargo-cache-1-${{ runner.os }}
- uses: moonrepo/setup-rust@v1
- run: rustup default stable
Expand Down Expand Up @@ -62,7 +63,8 @@ jobs:
- uses: actions/cache@v4
with:
path: ~/.cargo
key: cargo-cache-${{ runner.os }}
# THIS KEY MUST MATCH ABOVE
key: cargo-cache-1-${{ runner.os }}
- uses: actions/cache@v4
with:
path: |
Expand Down

0 comments on commit cf70d25

Please sign in to comment.