Skip to content

Commit cccd5c3

Browse files
authored
Fix misplaced edit
1 parent d5ac9cc commit cccd5c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cross.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838

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

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

4949
- name: Install gcc-mingw-w64-x86-64
5050
run: sudo apt-get install -y gcc-mingw-w64-x86-64

0 commit comments

Comments
 (0)