Skip to content

Commit dd65588

Browse files
install rustup directly
1 parent b843b88 commit dd65588

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,16 @@ jobs:
6363

6464
- name: Install toolchain dependencies
6565
if: matrix.container == 'ubuntu:18.04'
66-
run: apt-get update && apt-get install -y build-essential curl
66+
shell: bash
67+
run: |
68+
apt-get update && apt-get install -y build-essential curl
69+
curl --proto '=https' --tlsv1.2 "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
6770
6871
- name: Install Rust toolchain
69-
uses: actions-rs/toolchain@v1
70-
with:
71-
toolchain: stable
72-
target: ${{ matrix.target }}
73-
components: rust-src
74-
override: true
72+
run: |
73+
rustup update --no-self-update stable
74+
rustup target add ${{ matrix.target }}
75+
rustup component add rust-src
7576
7677
- name: Install Node.js
7778
uses: actions/setup-node@v1

0 commit comments

Comments
 (0)