Skip to content

Commit

Permalink
Fix CentOS7 setup
Browse files Browse the repository at this point in the history
C7 is EOL, has been moved to vault.centos.org.
  • Loading branch information
hillu committed Jul 23, 2024
1 parent ebb71fb commit f931568
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/selinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
steps:
- name: Prepare
run: |
sed -i \
-e 's,^#baseurl=http://mirror.centos.org/centos/,baseurl=https://vault.centos.org/centos/,g' \
-e 's,^mirrorlist=http://mirrorlist.centos.org/,#&1,' \
/etc/yum.repos.d/*.repo
yum install -y selinux-policy-devel
- uses: actions/checkout@v2
- name: Build
Expand Down

0 comments on commit f931568

Please sign in to comment.