ci: disable RUSTC_WRAPPER from forks

This commit is contained in:
Boshen 2024-05-26 01:46:14 +08:00
parent 29163e1d85
commit 7d73fb33e8
No known key found for this signature in database
GPG key ID: 9C7A8C8AB22BEBD1

View file

@ -45,7 +45,7 @@ jobs:
SCCACHE_BUCKET: ${{ secrets.SCCACHE_BUCKET }}
SCCACHE_ENDPOINT: ${{ secrets.SCCACHE_ENDPOINT }}
SCCACHE_REGION: auto
RUSTC_WRAPPER: sccache
RUSTC_WRAPPER: ${{ vars.USE_SCCACHE == 'true' && 'sccache' || '' }}
CARGO_INCREMENTAL: 0
SCCACHE_LOCAL_RW_MODE:
steps: