Skip to content

Commit

Permalink
Githubactions: Centos7: Replace repo mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Sep 27, 2024
1 parent ce7db50 commit 44c9f32
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build_centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ jobs:
cat /etc/yum.repos.d/CentOS-Base.repo
echo "--------------"
cat /etc/yum.repos.d/CentOS-Vault.repo
sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
yum -y update
yum -y install epel-release
- name: clone the Yubico/yubihsm-shell repository
run: |
Expand Down

0 comments on commit 44c9f32

Please sign in to comment.