Skip to content

Commit 59ea580

Browse files
Install rustup before toolchain
1 parent ff132af commit 59ea580

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
apt-get update -y
4040
apt-get upgrade -y
4141
apt-get install -y curl gcc openjdk-8-jdk-headless
42+
curl --proto '=https' --tlsv1.2 --retry 10 --location --silent --show-error --fail "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
43+
echo "$CARGO_HOME/bin" >> $GITHUB_PATH
4244
- name: Install Rust toolchain
4345
uses: dtolnay/rust-toolchain@stable
4446
with:

0 commit comments

Comments
 (0)