Skip to content

Commit

Permalink
[CI] Run pacman-key --refresh to reduce the chances of msys key problems
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Dec 24, 2023
1 parent 3854fb7 commit 3bafc9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CI/msys.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,11 @@ def __init__(self, name):
create_commands = [
'pacman-key --init',
'pacman-key --populate msys2',
'pacman-key --refresh',
'pacman --noconfirm -Sy procps tar {}'.format(
' '.join(self.packages(name))),
'pkill gpg-agent',
'pkill dirmngr',
'rm -rf /var/cache/pacman/pkg',
'python3 -m pip install pip==22.2.2 wheel==0.37.1 --upgrade',
'mv {}/{}/bin/{{mingw32-,}}make.exe'.format(msys(cpu), mingw(cpu)),
Expand Down

0 comments on commit 3bafc9e

Please sign in to comment.