Skip to content

Commit

Permalink
Use correct ref for cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
radeknovis committed Jun 15, 2023
1 parent 3894cc1 commit 6f430ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ runs:
with:
path: |
products.tar
key: ${{ runner.os }}-deriveddata-${{ github.ref }}-${{ github.sha }}
key: ${{ runner.os }}-deriveddata-${{ github.event.pull_request.head.sha }}
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ jobs:
with:
path: |
products.tar
key: ${{ runner.os }}-deriveddata-${{ github.ref }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-deriveddata-${{ github.ref }}-
key: ${{ runner.os }}-deriveddata-${{ github.event.pull_request.head.sha }}

- name: Untar DerivedDataCache
shell: bash
Expand Down

0 comments on commit 6f430ef

Please sign in to comment.