We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dae296 commit 2af9e5fCopy full SHA for 2af9e5f
.github/workflows/build-rust.yml
@@ -23,9 +23,14 @@ 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
- . "$HOME/.cargo/env"
+ # Install Rust with simpler curl command
+ curl -sSf https://sh.rustup.rs > rustup.sh
+ chmod +x rustup.sh
29
+ ./rustup.sh -y --default-toolchain stable --profile minimal
30
+
31
+ # Export cargo env manually since . might not work
32
+ export PATH="$HOME/.cargo/bin:$PATH"
33
+ export CARGO_HOME="$HOME/.cargo"
34
35
cd /work/lib
36
cargo build --release
0 commit comments