Skip to content

Commit

Permalink
Publish/build macos-aarch64 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
samhh committed Apr 24, 2024
1 parent 5c105f6 commit ca7c51b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}

0 comments on commit ca7c51b

Please sign in to comment.