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 a79ef99500 - Show all commits

View File

@@ -58,6 +58,9 @@ jobs:
fi
- name: 安装 Rust
env:
RUSTUP_DIST_SERVER: https://rsproxy.cn
RUSTUP_UPDATE_ROOT: https://rsproxy.cn/rustup
run: |
set -eux
if ! command -v rustup >/dev/null 2>&1; then
@@ -79,6 +82,9 @@ jobs:
cargo -V
- name: 构建发布包
env:
RUSTUP_DIST_SERVER: https://rsproxy.cn
RUSTUP_UPDATE_ROOT: https://rsproxy.cn/rustup
run: |
set -eux
. "$HOME/.cargo/env"