fix: 修复 Gitea 发布工作流在 fork/镜像仓库中的兼容性问题 #1

Merged
Eeveid merged 24 commits from zhilv/lightOps:main into main 2026-05-28 18:53:16 +08:00
Showing only changes of commit 7e8d4baac6 - Show all commits

View File

@@ -80,6 +80,14 @@ jobs:
echo "使用 Rust 构建目标: $BUILD_TARGET"
rustc -V
cargo -V
mkdir -p "$HOME/.cargo"
cat >"$HOME/.cargo/config.toml" <<'EOF'
[source.crates-io]
replace-with = "rsproxy-sparse"
[source.rsproxy-sparse]
registry = "sparse+https://rsproxy.cn/index/"
EOF
- name: 构建发布包
env: