about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-15 11:32:48 +0000
committerbors <bors@rust-lang.org>2024-05-15 11:32:48 +0000
commit98d768bf757ae3d71d8d47a8b082b8d06cb5b611 (patch)
tree15b5efff01be9d6a0cbd8e0da3a3947e5f32750e
parent38640806cc91597a0cce86c2000e8425575f6bbb (diff)
parentb5fbde7f1c29c9eb69053d18bfbdcd096cdb5c14 (diff)
downloadrust-98d768bf757ae3d71d8d47a8b082b8d06cb5b611.tar.gz
rust-98d768bf757ae3d71d8d47a8b082b8d06cb5b611.zip
Auto merge of #17239 - Veykril:metrics-caching, r=Veykril
internal: Key ignoring the job-id in metrics cache
-rw-r--r--src/tools/rust-analyzer/.github/workflows/metrics.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/rust-analyzer/.github/workflows/metrics.yaml b/src/tools/rust-analyzer/.github/workflows/metrics.yaml
index 9771d120ab9..aa776c035e8 100644
--- a/src/tools/rust-analyzer/.github/workflows/metrics.yaml
+++ b/src/tools/rust-analyzer/.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