Skip to content

Commit

Permalink
Merge pull request #207 from unsplash/ci-aarch64
Browse files Browse the repository at this point in the history
Publish/build macos-aarch64 in CI
  • Loading branch information
samhh authored Apr 24, 2024
2 parents 5c105f6 + ca7c51b commit a2232da
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 a2232da

Please sign in to comment.