Skip to content

Commit

Permalink
fix: try different rust setup
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra committed Jul 28, 2023
1 parent 5ca43f9 commit 4591a07
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/rust-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.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'
Expand Down

0 comments on commit 4591a07

Please sign in to comment.