.github/workflows: switch to repo-ci.voidlinux.org
This commit is contained in:
parent
70d5c4a88d
commit
92031434c9
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue