Use unique cache keys

This commit is contained in:
Nuno Campos
2024-09-13 16:42:59 -07:00
parent e8cb6565ee
commit 55d79b1507
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -31,6 +31,6 @@ jobs:
- name: Save outputs
uses: actions/cache/save@v4
with:
key: ${{ runner.os }}-benchmark-baseline
key: ${{ runner.os }}-benchmark-baseline-${{ env.GITHUB_SHA }}
path: |
libs/langgraph/out/benchmark-baseline.json
+2
View File
@@ -33,6 +33,8 @@ jobs:
uses: actions/cache/restore@v4
with:
key: ${{ runner.os }}-benchmark-baseline
restore-keys: |
${{ runner.os }}-benchmark-baseline-
fail-on-cache-miss: true
path: |
libs/langgraph/out/benchmark-baseline.json