Skip to content

Commit 45b77d0

Browse files
authored
ci: use sccache in release workflow (#12327)
We can't use GHA cache since it gets evicted every day
1 parent 3664bb5 commit 45b77d0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ jobs:
146146
targets: ${{ matrix.target }}
147147
- uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
148148

149+
- uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
150+
if: ${{ contains(matrix.runner, 'depot') }}
151+
- run: printf 'RUSTC_WRAPPER=sccache' >> "$GITHUB_ENV
152+
if: ${{ contains(matrix.runner, 'depot') }}
153+
149154
- name: Apple M1 setup
150155
if: matrix.target == 'aarch64-apple-darwin'
151156
run: |

0 commit comments

Comments
 (0)