diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 44fc2a61..4c007864 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,8 +50,9 @@ jobs: - name: install Rust stable uses: dtolnay/rust-toolchain@stable with: - # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds. - targets: ${{ matrix.os == 'macos' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} + targets: | + ${{ matrix.os == 'macos' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} + ${{ matrix.os == 'windows' && matrix.yaak_arch == 'arm64' && 'aarch64-pc-windows-msvc' || '' }} - uses: Swatinem/rust-cache@v2 with: