From ca7c51b0a30c9fd05526a2038ae3d1d7e2d6ee05 Mon Sep 17 00:00:00 2001 From: "Sam A. Horvath-Hunt" Date: Wed, 24 Apr 2024 17:29:07 +0100 Subject: [PATCH] Publish/build macos-aarch64 in CI --- .github/workflows/publish.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5d1ead3..af969b3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,8 +12,9 @@ jobs: matrix: os: [ - { name: "linux", runner: "ubuntu-latest" }, - { name: "macos", runner: "macos-latest" }, + { name: "linux-x86_64", runner: "ubuntu-latest" }, + { name: "macos-x86_64", runner: "macos-latest" }, + { name: "macos-aarch64", runner: "macos-latest-xlarge" }, ] runs-on: ${{ matrix.os.runner }} permissions: @@ -35,9 +36,9 @@ jobs: # can't access Git at compile time. Related: # https://github.com/snoyberg/githash/issues/9 cabal build - mv $(find ./dist-newstyle/ -name intlc -type f) dist-newstyle/intlc-${{ github.ref_name }}-${{ matrix.os.name }}-x86_64 + mv $(find ./dist-newstyle/ -name intlc -type f) dist-newstyle/intlc-${{ github.ref_name }}-${{ matrix.os.name }} - name: Release uses: softprops/action-gh-release@v1 with: files: | - dist-newstyle/intlc-${{ github.ref_name }}-${{ matrix.os.name }}-x86_64 + dist-newstyle/intlc-${{ github.ref_name }}-${{ matrix.os.name }}