Skip to content

Commit

Permalink
🐛 fix: Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
samzong committed Oct 22, 2024
1 parent dfb6f71 commit 244ee62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
Expand All @@ -27,13 +28,15 @@ jobs:
CODE_SIGNING_REQUIRED=NO \
ONLY_ACTIVE_ARCH=NO \
ARCHS="arm64 x86_64"
- name: Create app
run: |
xcodebuild -exportArchive \
-archivePath $PWD/build/MacMusicPlayer.xcarchive \
-exportOptionsPlist exportOptions.plist \
-exportPath $PWD/build/export
-exportPath $PWD/build/export \
ONLY_ACTIVE_ARCH=NO \
ARCHS="arm64 x86_64"
- name: Prepare for DMG
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
-project MacMusicPlayer.xcodeproj \
-scheme MacMusicPlayer \
-configuration Release \
-sdk macosx \
-destination 'generic/platform=macOS,name=Any Mac' \
-derivedDataPath build \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
Expand Down

0 comments on commit 244ee62

Please sign in to comment.