mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-08 18:05:42 +08:00
ci: Update centos:7 to use vault repos
This commit is contained in:
3
.github/.cspell/project-dictionary.txt
vendored
3
.github/.cspell/project-dictionary.txt
vendored
@@ -15,12 +15,15 @@ endgroup
|
||||
epel
|
||||
espup
|
||||
etag
|
||||
fastestmirror
|
||||
grcov
|
||||
knope
|
||||
linkcheck
|
||||
mdbook
|
||||
microdnf
|
||||
mirrorlist
|
||||
nextest
|
||||
pluginconf
|
||||
protoc
|
||||
pubkey
|
||||
pwsh
|
||||
|
||||
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -140,6 +140,14 @@ jobs:
|
||||
timeout-minutes: 60
|
||||
container: ${{ matrix.container }}
|
||||
steps:
|
||||
- name: Install requirements (centos)
|
||||
run: |
|
||||
set -eEuxo pipefail
|
||||
# https://github.com/rust-lang/rust/pull/126352
|
||||
sed -i /etc/yum.repos.d/*.repo -e 's!^mirrorlist!#mirrorlist!' \
|
||||
-e 's!^#baseurl=http://mirror.centos.org/!baseurl=https://vault.centos.org/!'
|
||||
sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
|
||||
if: startsWith(matrix.container, 'centos')
|
||||
- name: Install requirements (alpine)
|
||||
run: apk --no-cache add bash
|
||||
shell: sh
|
||||
|
||||
Reference in New Issue
Block a user