This commit is contained in:
chenwj113 2024-08-21 16:32:37 +08:00
parent 672094484c
commit 56311d6351
1 changed files with 19 additions and 11 deletions

View File

@ -132,6 +132,14 @@ git-fetch-with-cli = true
EOF EOF
fi fi
- name: Install Rust toolchain
if: runner.os != 'Windows'
shell: bash
run: |
if ! command -v rustup &> /dev/null ; then
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://rsproxy.cn/rustup-init.sh" | sh -s -- --default-toolchain none -y
fi
- name: Install Rust toolchain - name: Install Rust toolchain
if: runner.os == 'Windows' if: runner.os == 'Windows'
shell: bash shell: bash