From 7d5fc436452e741bc4eb550af505bf9557728b42 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Wed, 15 May 2024 13:31:11 +0200 Subject: [PATCH] Key ignoring the job-id in metrics cache --- .github/workflows/metrics.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/metrics.yaml b/.github/workflows/metrics.yaml index 9771d120ab..aa776c035e 100644 --- a/.github/workflows/metrics.yaml +++ b/.github/workflows/metrics.yaml @@ -28,7 +28,7 @@ jobs: - name: Restore cargo cache uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609 with: - key: ${{ runner.os }}-cargo-${{ github.sha }} + shared-key: ${{ runner.os }}-cargo-metrics-${{ github.sha }} cache-targets: "false" - name: Collect build metrics @@ -37,7 +37,7 @@ jobs: - name: Cache target uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609 with: - key: ${{ runner.os }}-cargo-${{ github.sha }} + shared-key: ${{ runner.os }}-cargo-metrics-${{ github.sha }} cache-targets: "true" - name: Upload build metrics @@ -67,7 +67,7 @@ jobs: - name: Restore cargo cache uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609 with: - key: ${{ runner.os }}-cargo-${{ github.sha }} + shared-key: ${{ runner.os }}-cargo-metrics-${{ github.sha }} cache-targets: "true" - name: Collect metrics