fix(ci): use rustup install script in CI pipeline
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user