fix: 修复 Gitea 发布工作流在 fork/镜像仓库中的兼容性问题 #1
@@ -58,6 +58,9 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: 安装 Rust
|
- name: 安装 Rust
|
||||||
|
env:
|
||||||
|
RUSTUP_DIST_SERVER: https://rsproxy.cn
|
||||||
|
RUSTUP_UPDATE_ROOT: https://rsproxy.cn/rustup
|
||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
if ! command -v rustup >/dev/null 2>&1; then
|
if ! command -v rustup >/dev/null 2>&1; then
|
||||||
@@ -79,6 +82,9 @@ jobs:
|
|||||||
cargo -V
|
cargo -V
|
||||||
|
|
||||||
- name: 构建发布包
|
- name: 构建发布包
|
||||||
|
env:
|
||||||
|
RUSTUP_DIST_SERVER: https://rsproxy.cn
|
||||||
|
RUSTUP_UPDATE_ROOT: https://rsproxy.cn/rustup
|
||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eux
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
|
|||||||
Reference in New Issue
Block a user