From 92031434c915547430eafdafb0e04dd0be078e7e Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 5 Aug 2022 23:06:21 +0200 Subject: .github/workflows: switch to repo-ci.voidlinux.org --- .github/workflows/build.yaml | 3 +++ .github/workflows/cycles.yml | 3 +++ 2 files changed, 6 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bb05364b5e7..ce995e2d9c7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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) 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) -- cgit v1.2.3