Skip to content

Commit

Permalink
Package macOS bundles on each build
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan authored Jun 11, 2024
1 parent aaefbd8 commit 73d3fc0
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,16 @@ jobs:
- name: make for macOS X64
run: make -j4 PLATFORM=osx-x86

- name: ZIP binaries
if: github.ref_type != 'tag'
run: zip -r amiberry-macOS-x86_64.zip Amiberry.app

- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v4
with:
name: amiberry-macOS-64bit-intel
path: |
Amiberry.app/**
path: amiberry-macOS-x86_64.zip

- name: ZIP binaries
if: github.ref_type == 'tag'
Expand Down Expand Up @@ -73,13 +76,16 @@ jobs:
- name: make for macOS M1
run: make -j4 PLATFORM=osx-m1

- name: ZIP binaries
if: github.ref_type != 'tag'
run: zip -r amiberry-macOS-m1.zip Amiberry.app

- name: Upload artifact
if: github.ref_type != 'tag'
uses: actions/upload-artifact@v4
with:
name: amiberry-macOS-64bit-m1
path: |
Amiberry.app/**
path: amiberry-macOS-m1.zip

- name: ZIP binaries
if: github.ref_type == 'tag'
Expand Down

0 comments on commit 73d3fc0

Please sign in to comment.