From 8c8953302350dbf3221ab3debadfaf2c58528608 Mon Sep 17 00:00:00 2001 From: Bas Zalmstra Date: Fri, 28 Jul 2023 22:12:21 +0200 Subject: [PATCH] fix: try different rust setup --- .github/workflows/rust-compile.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rust-compile.yml b/.github/workflows/rust-compile.yml index d3213f609..f03dc9626 100644 --- a/.github/workflows/rust-compile.yml +++ b/.github/workflows/rust-compile.yml @@ -114,17 +114,14 @@ jobs: with: target: ${{ matrix.job.target }} components: rustfmt + cache: false - - name: Install cross + - uses: taiki-e/setup-cross-toolchain-action@v1 if: matrix.job.use-cross - uses: taiki-e/install-action@v2 with: - tool: cross + target: ${{ matrix.job.target }} - - name: Overwrite build command env variable - if: matrix.job.use-cross - shell: bash - run: echo "BUILD_CMD=cross" >> $GITHUB_ENV + - uses: Swatinem/rust-cache@v2 - name: Add macOS cross build capability if: matrix.job.target == 'aarch64-apple-darwin'