diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3ae0fc2..55509294 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,6 +79,11 @@ jobs: build-macos: runs-on: macos-latest + strategy: + matrix: + include: + - arch: "x86_64" + - arch: "aarch64" steps: - uses: actions/checkout@v4 - name: Setup toolchain @@ -86,11 +91,11 @@ jobs: with: toolchain: stable - name: Build - run: cargo build --release --target x86_64-apple-darwin --no-default-features --features webpki-roots + run: cargo build --release --target ${{ matrix.arch }}-apple-darwin --no-default-features --features webpki-roots - uses: actions/upload-artifact@v4 with: - name: "tealdeer-macos-x86_64" - path: "target/x86_64-apple-darwin/release/tldr" + name: "tealdeer-macos-${{ matrix.arch }}" + path: "target/${{ matrix.arch }}-apple-darwin/release/tldr" build-windows: runs-on: windows-latest