File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010permissions :
1111 contents : write
12-
12+
1313jobs :
1414 build :
1515 name : Build Debug IPA
1616 runs-on : macos-latest
17+ env :
18+ UPLOAD_IPA : ${{ vars.UPLOAD_IPA || 'false' }}
1719
1820 steps :
1921 - name : Checkout
@@ -49,14 +51,15 @@ jobs:
4951 rm -rf Payload StikDebug.app
5052
5153 - name : Upload Debug IPA (artifact)
54+ if : env.UPLOAD_IPA == 'true'
5255 uses : actions/upload-artifact@v4
5356 with :
5457 name : StikDebug-Debug.ipa
5558 path : StikDebug.ipa
5659 retention-days : 90
5760
5861 - name : Create or Update GitHub Release (GitHub-Alpha)
59- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
62+ if : env.UPLOAD_IPA == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main'
6063 uses : softprops/action-gh-release@v2
6164 with :
6265 tag_name : GitHub-Alpha
You can’t perform that action at this time.
0 commit comments