mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-07 21:40:30 +00: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
|
epel
|
||||||
espup
|
espup
|
||||||
etag
|
etag
|
||||||
|
fastestmirror
|
||||||
grcov
|
grcov
|
||||||
knope
|
knope
|
||||||
linkcheck
|
linkcheck
|
||||||
mdbook
|
mdbook
|
||||||
microdnf
|
microdnf
|
||||||
|
mirrorlist
|
||||||
nextest
|
nextest
|
||||||
|
pluginconf
|
||||||
protoc
|
protoc
|
||||||
pubkey
|
pubkey
|
||||||
pwsh
|
pwsh
|
||||||
|
|||||||
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -140,6 +140,14 @@ jobs:
|
|||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
container: ${{ matrix.container }}
|
container: ${{ matrix.container }}
|
||||||
steps:
|
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)
|
- name: Install requirements (alpine)
|
||||||
run: apk --no-cache add bash
|
run: apk --no-cache add bash
|
||||||
shell: sh
|
shell: sh
|
||||||
|
|||||||
Reference in New Issue
Block a user