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 3d00625518 - Show all commits
+5 -1
View File
@@ -35,6 +35,8 @@ jobs:
- name: Install Rust toolchain (stable) - name: Install Rust toolchain (stable)
run: | run: |
export RUSTUP_DIST_SERVER=https://rsproxy.cn/rustup
export RUSTUP_UPDATE_ROOT=https://rsproxy.cn/rustup/rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal --component clippy 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" echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
@@ -104,7 +106,9 @@ jobs:
- uses: https://gitea.com/actions/checkout@v4 - uses: https://gitea.com/actions/checkout@v4
- name: Install Rust toolchain (stable) - name: Install Rust toolchain (stable)
run: rustup toolchain install stable --profile minimal && rustup default stable run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
- name: Configure cargo mirror (CI-only) - name: Configure cargo mirror (CI-only)
run: | run: |