From cccd5c3a2954a238e7cb9f5cd89000d4e1f86821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Sun, 21 Apr 2024 00:48:52 +0200 Subject: [PATCH] Fix misplaced edit --- .github/workflows/cross.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cross.yml b/.github/workflows/cross.yml index fd3b2312da..7879b4b819 100644 --- a/.github/workflows/cross.yml +++ b/.github/workflows/cross.yml @@ -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