fix: 修复 Gitea 发布工作流在 fork/镜像仓库中的兼容性问题 #1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user