Skip to content

Commit

Permalink
Fix misplaced edit
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 authored Apr 20, 2024
1 parent d5ac9cc commit cccd5c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:

- name: Add toolchain target
run: rustup target add ${{ matrix.target }}
if: contains(matrix.target, 'gnullvm') == false || contains(matrix.target, 'gnullvm') && startsWith(matrix.image, 'ubuntu-')
if: contains(matrix.target, 'gnullvm') == false || startsWith(matrix.image, 'ubuntu-') && contains(matrix.target, 'gnullvm') && matrix.version == 'nightly'

- name: Add nightly toolchain with rust-src
run: |
rustup default ${{ matrix.version }}
rustup component add rust-src
if: startsWith(matrix.image, 'ubuntu-') && startsWith(matrix.image, 'ubuntu-') && contains(matrix.target, 'gnullvm') && matrix.version == 'nightly'
if: startsWith(matrix.image, 'ubuntu-') && contains(matrix.target, 'gnullvm') && matrix.version == 'nightly'

- name: Install gcc-mingw-w64-x86-64
run: sudo apt-get install -y gcc-mingw-w64-x86-64
Expand Down

0 comments on commit cccd5c3

Please sign in to comment.