.github/workflows: switch to repo-ci.voidlinux.org

This commit is contained in:
Duncaen 2022-08-05 23:06:21 +02:00
parent 70d5c4a88d
commit 92031434c9
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
2 changed files with 6 additions and 0 deletions

View File

@ -65,6 +65,9 @@ jobs:
steps: steps:
- name: Prepare container - name: Prepare container
run: | run: |
# switch to repo-ci mirror
mkdir -p /etc/xbps.d && cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
sed -i 's|repo-default|repo-ci|g' /etc/xbps.d/*-repository-*.conf
# Sync and upgrade once, assume error comes from xbps update # Sync and upgrade once, assume error comes from xbps update
xbps-install -Syu || xbps-install -yu xbps xbps-install -Syu || xbps-install -yu xbps
# Upgrade again (in case there was a xbps update) # Upgrade again (in case there was a xbps update)

View File

@ -14,6 +14,9 @@ jobs:
steps: steps:
- name: Prepare container - name: Prepare container
run: | run: |
# switch to repo-ci mirror
mkdir -p /etc/xbps.d && cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
sed -i 's|repo-default|repo-ci|g' /etc/xbps.d/*-repository-*.conf
# Sync and upgrade once, assume error comes from xbps update # Sync and upgrade once, assume error comes from xbps update
xbps-install -Syu || xbps-install -yu xbps xbps-install -Syu || xbps-install -yu xbps
# Upgrade again (in case there was a xbps update) # Upgrade again (in case there was a xbps update)