Skip to content

Commit b89e8e5

Browse files
committed
fix rs
1 parent b155121 commit b89e8e5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build-rust.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
apt-get update
2424
apt-get install -y curl build-essential
2525
26-
# Install Rust
27-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
28-
source "$HOME/.cargo/env"
26+
# Install Rust using older curl syntax and . instead of source
27+
curl https://sh.rustup.rs -sSf > rustup.sh
28+
sh rustup.sh -y
29+
. "$HOME/.cargo/env"
2930
3031
cd /work/lib
3132
cargo build --release

0 commit comments

Comments
 (0)