Skip to content

Commit 6e64cf3

Browse files
committed
ci: download repos.conf from github; update profile
* Download repos.conf from GitHub, as we're already running CI on GH, there's no reason not to. Fixes a CI failure when gitweb.g.o gave a 404 because of a transient problem. * 17.0 -> 23.0 profiles. Signed-off-by: Sam James <sam@gentoo.org>
1 parent 5a2d0ae commit 6e64cf3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jobs:
4646
sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles
4747
wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1
4848
sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
49-
sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf
50-
sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1/systemd /etc/portage/make.profile
49+
sudo wget "https://raw.githubusercontent.com/gentoo/portage/refs/heads/master/cnf/repos.conf" -O /etc/portage/repos.conf
50+
sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/23.0/systemd /etc/portage/make.profile
5151
- name: Test meson install --destdir /tmp/install-root
5252
run: |
5353
echo -e "[binaries]\npython = '$(command -v python)'" > /tmp/native.ini

0 commit comments

Comments
 (0)