Skip to content

Commit

Permalink
amend to sccache
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr authored and sylvestre committed Mar 11, 2023
1 parent 20a08fc commit b9a57a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
env:
RUST_BACKTRACE: 1
DIST_EXEC_STRATEGY: ${{ matrix.dist_exec_strategy }}
CACHEPOT_SANDBOX: ${{ matrix.cachepot_sandbox }}
CACHEPOT_LOG: ${{ matrix.cachepot_log }}
SCCACHE_SANDBOX: ${{ matrix.cachepot_sandbox }}
SCCACHE_LOG: ${{ matrix.cachepot_log }}
steps:
- name: Clone repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion src/bin/sccache-dist/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ impl OverlayBuilder {
fs::create_dir(&target_dir).context("Failed to create overlay target directory")?;

// If specified, run the build in a new user namespace
let namespaced = match std::env::var("CACHEPOT_SANDBOX").as_deref() {
let namespaced = match std::env::var("SCCACHE_SANDBOX").as_deref() {
Ok("userns") => new_userns,
_ => current_ns,
};
Expand Down

0 comments on commit b9a57a3

Please sign in to comment.