aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/cycles.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cycles.yml')
-rw-r--r--.github/workflows/cycles.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/cycles.yml b/.github/workflows/cycles.yml
index 018c0909bdb..3f85ac6fa74 100644
--- a/.github/workflows/cycles.yml
+++ b/.github/workflows/cycles.yml
@@ -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)