From 55d79b150744f1faf5039f44e9055ef2527bbfa2 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Fri, 13 Sep 2024 16:42:59 -0700 Subject: [PATCH] Use unique cache keys --- .github/workflows/baseline.yml | 2 +- .github/workflows/bench.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/baseline.yml b/.github/workflows/baseline.yml index 3edd55d9b..c4162765d 100644 --- a/.github/workflows/baseline.yml +++ b/.github/workflows/baseline.yml @@ -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 diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 9b874bd3d..f22f7f3d3 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -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