Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #17239 - Veykril:metrics-caching, r=Veykril
internal: Key ignoring the job-id in metrics cache
bors 2024-05-15
parent 8772b86 · parent 7d5fc43 · commit 9bc6873
-rw-r--r--.github/workflows/metrics.yaml6
1 files 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