From 9830bb8865ad8d2de9f93c4e1bbbbee146136af0 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 25 Oct 2023 12:43:20 +0200 Subject: [PATCH] Move cargo target dir to `C:` drive on Windows CI job There is apparently more free space on the C drive --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58873be4..336fb648 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,11 @@ jobs: runs-on: ${{ matrix.platform }} timeout-minutes: 60 steps: + - name: Override cargo target dir (Windows only) + run: echo "CARGO_TARGET_DIR=C:\cargo-target" >> "$GITHUB_ENV" + shell: bash + if: runner.os == 'Windows' + - uses: actions/checkout@v3 - uses: r7kamura/rust-problem-matchers@v1.1.0 - run: cargo --version --verbose