Unnamed repository; edit this file 'description' to name the repository.
install rustup directly
| -rw-r--r-- | .github/workflows/release.yaml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 312ea066ff..216a302846 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -63,15 +63,16 @@ jobs: - name: Install toolchain dependencies 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 - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - target: ${{ matrix.target }} - components: rust-src - override: true + run: | + rustup update --no-self-update stable + rustup target add ${{ matrix.target }} + rustup component add rust-src - name: Install Node.js uses: actions/setup-node@v1 |