diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 946f406..4d5fda1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,11 +28,20 @@ jobs: target: - tool-version: 'latest' command: 'makers --version && cargo-make make --version' + # They are releasing aarch64 binary since 0.36.7: https://github.com/sagiegurari/cargo-make/commit/ab3cac2261c0ba67ab6d7a277aff8252faec0b1c + - tool-version: '0.36.7' + command: 'makers --version && cargo-make make --version' + # Supporting olderst # https://github.com/kachick/asdf-cargo-make/blob/8a7095692e6a880568a5b48c441ea518ef6a61cb/bin/download#L12 # https://github.com/kachick/asdf-cargo-make/blob/8a7095692e6a880568a5b48c441ea518ef6a61cb/lib/utils.bash#L59-L61 - tool-version: '0.16.0' # makers does not exist command: 'cargo-make make --version' + exclude: + # They are releasing aarch64 binary since 0.36.7: https://github.com/sagiegurari/cargo-make/commit/ab3cac2261c0ba67ab6d7a277aff8252faec0b1c + - os: macos-13 + target: + - tool-version: '0.16.0' runs-on: ${{ matrix.os }} steps: - uses: asdf-vm/actions/plugin-test@v3 diff --git a/lib/utils.bash b/lib/utils.bash index 35e7167..6a40c9a 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -66,6 +66,7 @@ download_release() { case "$(uname -m)" in x86_64*) architecture="x86_64" ;; + # They are releasing aarch64 binary since 0.36.7: https://github.com/sagiegurari/cargo-make/commit/ab3cac2261c0ba67ab6d7a277aff8252faec0b1c aarch64 | arm64) architecture="aarch64" ;; *) fail "Unsupported architecture" ;; esac