Skip to content

Commit

Permalink
update centos yum repo
Browse files Browse the repository at this point in the history
  • Loading branch information
wenlinlee committed Jul 29, 2024
1 parent 498b3d5 commit 6af9591
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ jobs:
fetch-depth: 5
- name: install CentOS dependencies
run: |
yum clean all
cd /etc/yum.repos.d/
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
yum update -y
yum install -y which git openssl-devel openssl wget
- name: Set up JDK 1.8
uses: actions/setup-java@v3
Expand Down

0 comments on commit 6af9591

Please sign in to comment.