ci: switch Fedora mirror to Aliyun (faster from Shanxi)
Some checks failed
Build Windows Release / Build Windows x64 Release on Linux (MinGW + Qt + OpenCV) (push) Failing after 2m1s
Some checks failed
Build Windows Release / Build Windows x64 Release on Linux (MinGW + Qt + OpenCV) (push) Failing after 2m1s
This commit is contained in:
@@ -26,7 +26,7 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
sed -e 's|^metalink=|#metalink=|g' \
|
||||
-e 's|^#baseurl=http://download.example/pub/fedora/linux|baseurl=https://mirrors.tuna.tsinghua.edu.cn/fedora|g' \
|
||||
-e 's|^#baseurl=http://download.example/pub/fedora/linux|baseurl=https://mirrors.aliyun.com/fedora|g' \
|
||||
-i /etc/yum.repos.d/fedora*.repo
|
||||
if [ -f /etc/yum.repos.d/fedora-cisco-openh264.repo ]; then
|
||||
sed -i 's|^enabled=1|enabled=0|g' /etc/yum.repos.d/fedora-cisco-openh264.repo
|
||||
|
||||
Reference in New Issue
Block a user