Refresh pacman in the appveyor build (#84)

...for updated Go package versions. Go 1.12 is gone from the MSYS2 repos.
This commit is contained in:
Sebastian Zagrodzki
2020-11-09 10:07:43 +01:00
committed by GitHub
parent 0995919da4
commit 76f12f69ac
3 changed files with 14 additions and 3 deletions

8
.appveyor/upgrade_pacman.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
export PATH="/mingw64/bin:${PATH}"
set -x
curl -O https://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz
curl -O https://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig
pacman-key --verify msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig &&\
pacman --noconfirm -U msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz
pacman --noconfirm -Syy pacman