Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ env:
# deterministic, so PR builds writing to the shared bucket write correct objects
# under correct keys (no poisoning); bound storage with an R2 lifecycle-expiry
# rule on the bucket (sccache does not evict cloud backends itself).
RUSTC_WRAPPER: sccache
# Fork-headed pull_request runs never receive repo secrets, so
# secrets.R2_ACCOUNT_ID evaluates to empty string there; skip the
# wrapper entirely on those runs (empty RUSTC_WRAPPER is a cargo
# no-op) instead of letting sccache fail startup against a malformed
# empty-account-id endpoint.
RUSTC_WRAPPER: ${{ secrets.R2_ACCOUNT_ID != '' && 'sccache' || '' }}
CARGO_INCREMENTAL: "0"
SCCACHE_BUCKET: shepherd-sccache
SCCACHE_ENDPOINT: https://${{ secrets.R2_ACCOUNT_ID }}.r2.cloudflarestorage.com
Expand Down
Loading