We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b155121 commit b89e8e5Copy full SHA for b89e8e5
.github/workflows/build-rust.yml
@@ -23,9 +23,10 @@ jobs:
23
apt-get update
24
apt-get install -y curl build-essential
25
26
- # Install Rust
27
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
28
- source "$HOME/.cargo/env"
+ # Install Rust using older curl syntax and . instead of source
+ curl https://sh.rustup.rs -sSf > rustup.sh
+ sh rustup.sh -y
29
+ . "$HOME/.cargo/env"
30
31
cd /work/lib
32
cargo build --release
0 commit comments