ci: disable Fedora OpenH264 repo in cross build
Some checks failed
Cross Build Windows Release on Linux / cross-build-windows (push) Failing after 2s
Build Windows Release / build-windows (push) Has been cancelled

This commit is contained in:
luochen570
2026-05-30 00:28:58 +08:00
parent 0ab0ea21c3
commit 9297fde7ea

View File

@@ -25,6 +25,9 @@ jobs:
sed -e 's|^metalink=|#metalink=|g' \ 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.tuna.tsinghua.edu.cn/fedora|g' \
-i /etc/yum.repos.d/fedora*.repo -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
fi
dnf makecache --refresh -y dnf makecache --refresh -y
- name: Checkout - name: Checkout