From c4f10befe83c81d1b7dd0c282d5f7e275d784ddf Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 12 Jul 2022 09:53:58 +0200 Subject: [PATCH] Use latest Rust version on CI Co-Authored-By: Isaac Clayton --- .github/workflows/ci.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 000b9034ac..1557c5a7a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,8 +28,9 @@ jobs: uses: actions-rs/toolchain@v1 with: toolchain: stable - target: x86_64-apple-darwin + target: aarch64-apple-darwin profile: minimal + default: true - name: Install Rust wasm32-wasi target uses: actions-rs/toolchain@v1 @@ -65,19 +66,20 @@ jobs: APPLE_NOTARIZATION_USERNAME: ${{ secrets.APPLE_NOTARIZATION_USERNAME }} APPLE_NOTARIZATION_PASSWORD: ${{ secrets.APPLE_NOTARIZATION_PASSWORD }} steps: - - name: Install Rust x86_64-apple-darwin target - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - target: x86_64-apple-darwin - profile: minimal - - name: Install Rust aarch64-apple-darwin target uses: actions-rs/toolchain@v1 with: toolchain: stable target: aarch64-apple-darwin profile: minimal + default: true + + - name: Install Rust x86_64-apple-darwin target + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + target: x86_64-apple-darwin + profile: minimal - name: Install Rust wasm32-wasi target uses: actions-rs/toolchain@v1