install rustup directly
This commit is contained in:
parent
b843b8801d
commit
dd65588c51
15
.github/workflows/release.yaml
vendored
15
.github/workflows/release.yaml
vendored
@ -63,15 +63,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Install toolchain dependencies
|
- name: Install toolchain dependencies
|
||||||
if: matrix.container == 'ubuntu:18.04'
|
if: matrix.container == 'ubuntu:18.04'
|
||||||
run: apt-get update && apt-get install -y build-essential curl
|
shell: bash
|
||||||
|
run: |
|
||||||
|
apt-get update && apt-get install -y build-essential curl
|
||||||
|
curl --proto '=https' --tlsv1.2 "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
run: |
|
||||||
with:
|
rustup update --no-self-update stable
|
||||||
toolchain: stable
|
rustup target add ${{ matrix.target }}
|
||||||
target: ${{ matrix.target }}
|
rustup component add rust-src
|
||||||
components: rust-src
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user