From 7b4b35f65904d03399d5dfb8fc4e5729b0b4d81f Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Mon, 15 Feb 2021 10:09:15 +0100 Subject: [PATCH] CI: fix syntax --- .github/workflows/build.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index feb2e94..c5b6e29 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,19 +21,19 @@ jobs: update: true install: p7zip tar mingw-w64-x86_64-qt-installer-framework - - name: Switch to the main mirror - shell: msys2 {0} - run: | - sed -e "s|Include = /etc/pacman.d/mirrorlist.mingw32|Server = http://repo.msys2.org/mingw/i686/|g" -i /etc/pacman.conf - sed -e "s|Include = /etc/pacman.d/mirrorlist.mingw64|Server = http://repo.msys2.org/mingw/x86_64/|g" -i /etc/pacman.conf - sed -e "s|Include = /etc/pacman.d/mirrorlist.msys|Server = http://repo.msys2.org/msys/\$arch/|g" -i /etc/pacman.conf - pacman-conf.exe + - name: Switch to the main mirror + shell: msys2 {0} + run: | + sed -e "s|Include = /etc/pacman.d/mirrorlist.mingw32|Server = http://repo.msys2.org/mingw/i686/|g" -i /etc/pacman.conf + sed -e "s|Include = /etc/pacman.d/mirrorlist.mingw64|Server = http://repo.msys2.org/mingw/x86_64/|g" -i /etc/pacman.conf + sed -e "s|Include = /etc/pacman.d/mirrorlist.msys|Server = http://repo.msys2.org/msys/\$arch/|g" -i /etc/pacman.conf + pacman-conf.exe - - name: Update using the main mirror & Check install - run: | - msys2 -c 'pacman --noconfirm -Suuy' - msys2 -c 'pacman --noconfirm -Suu' - msys2 -c 'pacman -Qkq' + - name: Update using the main mirror & Check install + run: | + msys2 -c 'pacman --noconfirm -Suuy' + msys2 -c 'pacman --noconfirm -Suu' + msys2 -c 'pacman -Qkq' - name: Build Installer shell: msys2 {0}