fix: correct cache keys

This commit is contained in:
youben11
2022-03-07 14:14:44 +01:00
parent 4e0d7f8b0b
commit 67e90eb498

View File

@@ -147,7 +147,7 @@ jobs:
uses: actions/cache@v2
with:
path: ${{ github.workspace }}/concrete/target
key: concrete-compiler-concrete-lib-${{ steps.concretelib-hash.outputs.COMMIT_SHA }}
key: ${{ runner.os }}-concrete-lib-${{ steps.concretelib-hash.outputs.COMMIT_SHA }}
- name: Install Deps
run: |
@@ -163,7 +163,7 @@ jobs:
uses: actions/cache@v2
with:
path: /Users/runner/Library/Caches/ccache
key: ${{ runner.os }}-compilation-cache-$GITHUB_SHA
key: ${{ runner.os }}-compilation-cache-${{ env.GITHUB_SHA }}
- name: Cache compilation (pull_request)
if: github.event_name == 'pull_request'