diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4aa9564..6a998a8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 # fetch tags for publish - + - uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 - run: cargo run -p xtask -- ci env: CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 2a5b66d..9a26f0d 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -11,6 +11,7 @@ fn main() -> xshell::Result<()> { let sh = Shell::new()?; let _e = push_toolchain(&sh, "stable")?; + let _e = sh.push_env("CARGO", ""); { let _s = section("BUILD");