diff options
author | Duncaen <duncaen@voidlinux.org> | 2022-08-05 21:06:21 +0000 |
---|---|---|
committer | Duncaen <duncaen@voidlinux.org> | 2022-08-05 21:06:25 +0000 |
commit | 92031434c915547430eafdafb0e04dd0be078e7e (patch) | |
tree | fa62ea81622feae849483ce83f0ddd736f470698 | |
parent | 70d5c4a88da6d18879083a1dc690ff35c5c4b6c7 (diff) | |
download | void-packages-92031434c915547430eafdafb0e04dd0be078e7e.tar void-packages-92031434c915547430eafdafb0e04dd0be078e7e.tar.gz void-packages-92031434c915547430eafdafb0e04dd0be078e7e.tar.bz2 void-packages-92031434c915547430eafdafb0e04dd0be078e7e.tar.lz void-packages-92031434c915547430eafdafb0e04dd0be078e7e.tar.xz void-packages-92031434c915547430eafdafb0e04dd0be078e7e.tar.zst void-packages-92031434c915547430eafdafb0e04dd0be078e7e.zip |
.github/workflows: switch to repo-ci.voidlinux.org
-rw-r--r-- | .github/workflows/build.yaml | 3 | ||||
-rw-r--r-- | .github/workflows/cycles.yml | 3 |
2 files changed, 6 insertions, 0 deletions
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) |