.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:
- name: Prepare container
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
xbps-install -Syu || xbps-install -yu xbps
# Upgrade again (in case there was a xbps update)

View File

@ -14,6 +14,9 @@ jobs:
steps:
- name: Prepare container
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
xbps-install -Syu || xbps-install -yu xbps
# Upgrade again (in case there was a xbps update)