diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0467008..819853d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,9 +46,10 @@ jobs: - uses: actions/checkout@v4 with: { ref: "${{ inputs.tag || github.ref }}" } - uses: dtolnay/rust-toolchain@stable + with: { targets: aarch64-apple-darwin } - uses: Swatinem/rust-cache@v2 - - name: Package (ad-hoc signed, not notarized) - run: packaging/macos/package.sh + - name: Package (Apple silicon, ad-hoc signed, not notarized) + run: packaging/macos/package.sh --arch aarch64 - uses: actions/upload-artifact@v4 with: { name: macos, path: dist/release/* } @@ -63,7 +64,7 @@ jobs: - name: Build dependencies run: | sudo apt-get update - sudo apt-get install -y pkg-config libssl-dev libxkbcommon-x11-dev libxcb-xkb-dev libx11-xcb-dev libwayland-dev libvulkan-dev + sudo apt-get install -y pkg-config libssl-dev libxkbcommon-x11-dev libxcb-xkb-dev libx11-xcb-dev libwayland-dev libvulkan-dev libdbus-1-dev - name: Build and tar run: | cargo build --release --locked --bins