Skip to content

Commit

Permalink
chore: use target branch name as suffix in cache file
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksuss committed Jun 22, 2023
1 parent bc12eab commit 661a28a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Restore cache
run: |
cache-util restore cargo_git cargo_registry yarn_cache
cache-util restore aurora-engine-target@generic@${{ hashFiles('**/Cargo.lock') }}:target
cache-util restore aurora-engine-target@${{ github.base.ref }}@${{ hashFiles('**/Cargo.lock') }}:target
- name: Build contracts
run: cargo make build-contracts
- name: Test contracts
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Save cache
run: |
cache-util save cargo_git cargo_registry yarn_cache
cache-util msave aurora-engine-target@generic@${{ hashFiles('**/Cargo.lock') }}:target
cache-util msave aurora-engine-target@${{ github.base.ref }}@${{ hashFiles('**/Cargo.lock') }}:target
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0

0 comments on commit 661a28a

Please sign in to comment.