ci: switch to gitea.com action mirrors to bypass github.com network block #27

Merged
dailz merged 13 commits from ci-fix into master 2026-07-14 21:51:50 +08:00
Showing only changes of commit 56feb64b10 - Show all commits
+2 -2
View File
@@ -35,8 +35,7 @@ jobs:
- name: Install Rust toolchain (stable)
run: |
export RUSTUP_DIST_SERVER=https://rsproxy.cn/rustup
export RUSTUP_UPDATE_ROOT=https://rsproxy.cn/rustup/rustup
export RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal --component clippy
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
@@ -107,6 +106,7 @@ jobs:
- name: Install Rust toolchain (stable)
run: |
export RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"