diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2024-05-15 13:31:11 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2024-05-15 13:31:11 +0200 |
| commit | b5fbde7f1c29c9eb69053d18bfbdcd096cdb5c14 (patch) | |
| tree | 4eb9bf819526869e5a5649fe09e151e0d866ed29 /src | |
| parent | 9db0b656e89b635f8b7992481ee7a21507104876 (diff) | |
| download | rust-b5fbde7f1c29c9eb69053d18bfbdcd096cdb5c14.tar.gz rust-b5fbde7f1c29c9eb69053d18bfbdcd096cdb5c14.zip | |
Key ignoring the job-id in metrics cache
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/rust-analyzer/.github/workflows/metrics.yaml | 6 |
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 |
