diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a7d8665..c048413 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,7 +20,7 @@ jobs: env: {}, targetPath: "target/release/", } - - { + - { os: "ubuntu-latest", arch: "aarch64", extension: "", @@ -77,13 +77,22 @@ jobs: - name: Install latest Rust stable toolchain uses: actions-rs/toolchain@v1 - if: matrix.config.arch == 'aarch64' + if: matrix.config.arch == 'aarch64' && matrix.config.os == 'macos-latest' with: toolchain: stable default: true components: clippy, rustfmt target: aarch64-apple-darwin + - name: Install latest Rust stable toolchain + uses: actions-rs/toolchain@v1 + if: matrix.config.arch == 'aarch64'&& matrix.config.os == 'ubuntu-latest' + with: + toolchain: stable + default: true + components: clippy, rustfmt + target: aarch64-unknown-linux-gnu + - name: build release uses: actions-rs/cargo@v1 if: matrix.config.arch != 'aarch64'