mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
.github/workflows: switch to repo-ci.voidlinux.org
This commit is contained in:
parent
70d5c4a88d
commit
92031434c9
2 changed files with 6 additions and 0 deletions
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
|
@ -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)
|
||||||
|
|
3
.github/workflows/cycles.yml
vendored
3
.github/workflows/cycles.yml
vendored
|
@ -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…
Add table
Reference in a new issue