diff --git a/.github/workflows/cross.yml b/.github/workflows/cross.yml index ca301f5739..a779adb718 100644 --- a/.github/workflows/cross.yml +++ b/.github/workflows/cross.yml @@ -38,7 +38,7 @@ jobs: - name: Add toolchain target run: rustup target add ${{ matrix.target }} - if: contains(matrix.target, 'gnullvm') == false && startsWith(matrix.image, 'ubuntu-') == false + if: contains(matrix.target, 'gnullvm') == false || contains(matrix.target, 'gnullvm') && startsWith(matrix.image, 'ubuntu-') - name: Add nightly toolchain with rust-src run: |