From a305a17319851035d6cbf19a704d6c2d93a444d2 Mon Sep 17 00:00:00 2001 From: Klaus Lungwitz <18153834+klaus993@users.noreply.github.com> Date: Thu, 31 Aug 2023 12:39:08 -0300 Subject: [PATCH] Add rustup home and path env vars --- .github/workflows/fresh_run.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/fresh_run.yml b/.github/workflows/fresh_run.yml index 2702026bff..fa944ba9f0 100644 --- a/.github/workflows/fresh_run.yml +++ b/.github/workflows/fresh_run.yml @@ -25,6 +25,12 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Set RUSTUP_HOME and PATH env vars + if: ${{ matrix.os }} == debian-12 + run: | + echo "RUSTUP_HOME=/root/.cargo" >> $GITHUB_ENV + echo "PATH=${PATH}:/root/.cargo/bin" >> $GITHUB_ENV + - name: Install rust uses: dtolnay/rust-toolchain@stable