Skip to content

Commit

Permalink
Mac Release Fix (#92)
Browse files Browse the repository at this point in the history
* cheking dirs

* don't need to depend on wndows

* fixing xprojec path

* Print build directory structure

* updating mac directories

* re,oving debug listings

---------

Co-authored-by: Bruce <[email protected]>
  • Loading branch information
brucegomes and Bruce authored Jan 28, 2024
1 parent 0df1ac1 commit 5893937
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,30 +49,29 @@ jobs:
#- name: Upload to blob
# run: az storage copy -s "./SciuridaeReleases/ColorKrakenSetup.exe" -d "https://sciuridae.blob.core.windows.net/test/ColorKrakenSetup.exe" --connection-string "${{ secrets.BLOB_CONNECTION_STRING }}"

build-mac:
needs: build
build-mac:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4

- name: Build Mac App
run: xcodebuild -project "ColorKraken for Mac/ColorKraken.xcodeproj" -scheme ColorKraken -derivedDataPath ./build
run: xcodebuild -project "ColorKraken for Mac/ColorKraken/ColorKraken.xcodeproj" -scheme ColorKraken -derivedDataPath ./build

- name: Archive Mac App
run: |
cd ./build/Build/Products/Release
cd ./build/Build/Products/Debug
zip -r ColorKraken-Mac.zip ColorKraken.app
- name: Upload Mac App artifact
uses: actions/upload-artifact@v4
with:
name: MacApp
path: ./build/Build/Products/Release/ColorKraken-Mac.zip
path: ./build/Build/Products/Debug/ColorKraken-Mac.zip

- name: Release Mac App
uses: softprops/action-gh-release@v1
with:
fail_on_unmatched_files: false
generate_release_notes: true
files: ./build/Build/Products/Release/ColorKraken-Mac.zip
files: ./build/Build/Products/Debug/ColorKraken-Mac.zip

0 comments on commit 5893937

Please sign in to comment.