Skip to content

Commit 48196cd

Browse files
committed
feat: Add macOS support to release workflow and update artifact creation
1 parent 082c586 commit 48196cd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
os: [ubuntu-latest, windows-latest]
17+
os: [ubuntu-latest, windows-latest, macos-latest]
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v4
@@ -45,7 +45,9 @@ jobs:
4545
if: runner.os != 'Windows'
4646
run: |
4747
mkdir -p build/artifacts
48-
zip -r "build/artifacts/AmicoScript-${{ github.ref_name }}-${{ matrix.os }}.zip" dist/AmicoScript || true
48+
# On mac the build produces an .app bundle (dist/AmicoScript.app).
49+
# Zip any AmicoScript output (binary dir or .app bundle).
50+
zip -r "build/artifacts/AmicoScript-${{ github.ref_name }}-${{ matrix.os }}.zip" dist/AmicoScript* || true
4951
shell: bash
5052

5153
- name: Create GitHub Release and upload artifacts

0 commit comments

Comments
 (0)