fix(ci): use rustup install script in CI pipeline

This commit is contained in:
2026-06-18 17:41:57 +08:00
parent cfc20d4b89
commit 9df82f99b5
+3 -1
View File
@@ -28,7 +28,9 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable && rustup default stable
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
- name: Build (Linux)
if: matrix.target == 'x86_64-unknown-linux-gnu'