From 9bfd0d1fbfc45bc27be116f561ec7080b4da13ce Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sun, 9 Jun 2024 07:14:07 -0700 Subject: [PATCH] Back to other --- .github/workflows/release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71b39206..02135d23 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,13 +26,11 @@ jobs: uses: actions/setup-node@v4 with: node-version: lts/* - - name: Install Rust - uses: actions-rs/toolchain@v1 + - name: install Rust stable + uses: dtolnay/rust-toolchain@stable with: - profile: minimal - target: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} - toolchain: stable - override: true + # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds. + targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} - name: Set up cargo cache uses: actions/cache@v3 continue-on-error: false