From bc97be9ab70f5f4b516adf7c16ad858f4c819de6 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 2 Aug 2023 14:34:38 +0100 Subject: [PATCH] Stop using abandoned actions-rs/toolchain action (#1132) --- .github/workflows/build_macos.yaml | 9 ++++----- .github/workflows/build_windows.yaml | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_macos.yaml b/.github/workflows/build_macos.yaml index 6b17631..615405a 100644 --- a/.github/workflows/build_macos.yaml +++ b/.github/workflows/build_macos.yaml @@ -52,11 +52,10 @@ jobs: - name: Install Rust if: steps.cache.outputs.cache-hit != 'true' - uses: actions-rs/toolchain@88dc2356392166efad76775c878094f4e83ff746 - with: - default: true - toolchain: stable - target: aarch64-apple-darwin + run: | + rustup toolchain install stable --profile minimal --no-self-update + rustup default stable + rustup target add aarch64-apple-darwin - uses: actions/setup-node@v3 with: diff --git a/.github/workflows/build_windows.yaml b/.github/workflows/build_windows.yaml index e1a22dc..581db44 100644 --- a/.github/workflows/build_windows.yaml +++ b/.github/workflows/build_windows.yaml @@ -95,11 +95,10 @@ jobs: - name: Install Rust if: steps.cache.outputs.cache-hit != 'true' - uses: actions-rs/toolchain@88dc2356392166efad76775c878094f4e83ff746 - with: - default: true - toolchain: stable - target: ${{ steps.config.outputs.target }} + run: | + rustup toolchain install stable --profile minimal --no-self-update + rustup default stable + rustup target add ${{ steps.config.outputs.target }} - uses: actions/setup-node@v3 with: