CI: uncomment clangarm64 and staging from pacman.conf instead of adding from scratch
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -65,8 +65,8 @@ jobs:
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
cp /etc/pacman.conf /etc/pacman.conf.bak
|
||||
grep -qF '[clangarm64]' /etc/pacman.conf || sed -i '1s|^|[clangarm64]\nInclude = /etc/pacman.d/mirrorlist.mingw\n|' /etc/pacman.conf
|
||||
sed -i '1s|^|[staging]\nServer = https://repo.msys2.org/staging/\nSigLevel = Never\n|' /etc/pacman.conf
|
||||
grep -qFx '[clangarm64]' /etc/pacman.conf || sed -i '/^# \[clangarm64\]/,/^$/ s|^# ||g' /etc/pacman.conf
|
||||
grep -qFx '[staging]' /etc/pacman.conf || sed -i '/^# \[staging\]/,/^$/ s|^# ||g' /etc/pacman.conf
|
||||
|
||||
- name: Update using staging
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user