diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index adcf353cac..e9d9eb31a9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -350,7 +350,9 @@ jobs: # Downgrade to a known good MSYS2 runtime version to avoid the performance regression # causing runtests.pl to run at 2-3x reduced speed. run: | - [[ "$(uname -a)" = *' 3.5'* ]] && exec /usr/bin/pacman --noconfirm --noprogressbar --upgrade https://mirror.msys2.org/msys/x86_64/msys2-runtime-3.5.4-8-x86_64.pkg.tar.zst + if [[ "$(uname -a)" = *' 3.5'* ]]; then + exec /usr/bin/pacman --noconfirm --noprogressbar --upgrade https://mirror.msys2.org/msys/x86_64/msys2-runtime-3.5.4-8-x86_64.pkg.tar.zst + fi - name: 'run tests' if: ${{ matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }} @@ -522,7 +524,9 @@ jobs: # Downgrade to a known good MSYS2 runtime version to avoid the performance regression # causing runtests.pl to run at 2-3x reduced speed. run: | - [[ "$(uname -a)" = *' 3.5'* ]] && exec /usr/bin/pacman --noconfirm --noprogressbar --upgrade https://mirror.msys2.org/msys/x86_64/msys2-runtime-3.5.4-8-x86_64.pkg.tar.zst + if [[ "$(uname -a)" = *' 3.5'* ]]; then + exec /usr/bin/pacman --noconfirm --noprogressbar --upgrade https://mirror.msys2.org/msys/x86_64/msys2-runtime-3.5.4-8-x86_64.pkg.tar.zst + fi - name: 'run tests' if: ${{ matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }} @@ -998,7 +1002,9 @@ jobs: # Downgrade to a known good MSYS2 runtime version to avoid the performance regression # causing runtests.pl to run at 2-3x reduced speed. run: | - [[ "$(uname -a)" = *' 3.5'* ]] && exec /usr/bin/pacman --noconfirm --noprogressbar --upgrade https://mirror.msys2.org/msys/x86_64/msys2-runtime-3.5.4-8-x86_64.pkg.tar.zst + if [[ "$(uname -a)" = *' 3.5'* ]]; then + exec /usr/bin/pacman --noconfirm --noprogressbar --upgrade https://mirror.msys2.org/msys/x86_64/msys2-runtime-3.5.4-8-x86_64.pkg.tar.zst + fi - name: 'run tests' if: ${{ matrix.tflags != 'skipall' && matrix.tflags != 'skiprun' }}