Skip to content

Commit 3d43a14

Browse files
fix(ius): manually configure the EOL IUS RPM repository
1 parent 54fe018 commit 3d43a14

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/build-docs.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,20 @@ jobs:
2525
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
2626
- name: Setup environment
2727
run: |
28-
yum install -y epel-release https://repo.ius.io/ius-release-el7.rpm
29-
yum install -y make nodejs git236-core
28+
yum install -y epel-release
29+
yum install -y make nodejs
30+
- name: Setup IUS repository
31+
run: |
32+
curl --fail --location --silent --show-error https://vault.ius.io/RPM-GPG-KEY-IUS-7 --output /etc/pki/rpm-gpg/RPM-GPG-KEY-IUS-7
33+
cat <<'EOF' > /etc/yum.repos.d/ius.repo
34+
[ius]
35+
name=IUS
36+
baseurl=https://vault.ius.io/el7/x86_64/
37+
enabled=1
38+
gpgcheck=1
39+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IUS-7
40+
EOF
41+
yum install -y git236-core
3042
- name: Checkout source code
3143
uses: actions/checkout@v4
3244
with:

0 commit comments

Comments
 (0)