File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build Alpha IPA
1+ name : Build Unsigned Debug IPA
22
33on :
44 push :
77 branches : [ "main" ]
88 workflow_dispatch :
99
10+ permissions :
11+ contents : write
12+
1013jobs :
1114 build :
1215 name : Build Debug IPA
13- runs-on : macos-latest
16+ runs-on : macos-latest
1417
1518 steps :
1619 - name : Checkout
1922 - name : Setup Xcode (latest stable)
2023 uses : maxim-lobanov/setup-xcode@v1
2124 with :
22- xcode-version : ' latest-stable'
25+ xcode-version : ' latest-stable'
2326
2427 - name : Archive Build (Debug, Unsigned)
2528 run : |
3942
4043 - name : Create IPA from Archive
4144 run : |
42- # Copy the .app from the archive
4345 cp -R build/StikDebug.xcarchive/Products/Applications/StikDebug.app .
44-
45- # Package the app into an IPA
4646 mkdir -p Payload
4747 cp -R StikDebug.app Payload/
4848 zip -r StikDebug.ipa Payload
@@ -56,12 +56,15 @@ jobs:
5656 retention-days : 90
5757
5858 - name : Create or Update GitHub Release (GitHub-Alpha)
59+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
5960 uses : softprops/action-gh-release@v2
6061 with :
6162 tag_name : GitHub-Alpha
6263 name : GitHub-Alpha
63- draft : false
6464 prerelease : true
65- files : StikDebug.ipa
65+ generate_release_notes : true
66+ target_commitish : ${{ github.sha }}
67+ files : |
68+ StikDebug.ipa
6669 env :
6770 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments