Skip to content

Commit

Permalink
GHA: fix repo URLs on CentOS7 (->vault)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphlange committed Dec 25, 2024
1 parent a833d36 commit bb188f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci-scripts-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ jobs:
extra: "CMD_CXXFLAGS=-std=c++11"

steps:
- name: "Fix repo URLs"
# centos:7 is past EOL, repos are in the vault
if: matrix.image=='centos:7'
run: |
sed -i -e "s|mirrorlist=|#mirrorlist=|" -e "s|#baseurl=http://mirror|baseurl=http://vault|" /etc/yum.repos.d/CentOS-Base.repo
- name: "Build newer Git"
# actions/checkout@v2 wants git >=2.18
# centos:7 has 1.8
Expand Down

0 comments on commit bb188f3

Please sign in to comment.