Skip to content

Commit 98d768b

Browse files
committed
Auto merge of #17239 - Veykril:metrics-caching, r=Veykril
internal: Key ignoring the job-id in metrics cache
2 parents 3864080 + b5fbde7 commit 98d768b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tools/rust-analyzer/.github/workflows/metrics.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Restore cargo cache
2929
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
3030
with:
31-
key: ${{ runner.os }}-cargo-${{ github.sha }}
31+
shared-key: ${{ runner.os }}-cargo-metrics-${{ github.sha }}
3232
cache-targets: "false"
3333

3434
- name: Collect build metrics
@@ -37,7 +37,7 @@ jobs:
3737
- name: Cache target
3838
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
3939
with:
40-
key: ${{ runner.os }}-cargo-${{ github.sha }}
40+
shared-key: ${{ runner.os }}-cargo-metrics-${{ github.sha }}
4141
cache-targets: "true"
4242

4343
- name: Upload build metrics
@@ -67,7 +67,7 @@ jobs:
6767
- name: Restore cargo cache
6868
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609
6969
with:
70-
key: ${{ runner.os }}-cargo-${{ github.sha }}
70+
shared-key: ${{ runner.os }}-cargo-metrics-${{ github.sha }}
7171
cache-targets: "true"
7272

7373
- name: Collect metrics

0 commit comments

Comments
 (0)