Skip to content

Commit

Permalink
Update CentOS 7 Build
Browse files Browse the repository at this point in the history
Update CentOS 7 Build
  • Loading branch information
SmileYzn authored Sep 18, 2024
1 parent 71e74f6 commit ecd9ac6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
- name: Setup Checkout
uses: actions/checkout@v3

- name: Fix CentOS 7 EOL repositories
run: |
sed -i.bak 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i.bak 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
- name: Update cache
run: yes | yum -y --assumeyes makecache

Expand Down

0 comments on commit ecd9ac6

Please sign in to comment.