Skip to content

Commit 1a46dee

Browse files
committed
2 parents 0baf631 + 84b09e4 commit 1a46dee

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build_ipa.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ on:
99

1010
permissions:
1111
contents: write
12-
12+
1313
jobs:
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

0 commit comments

Comments
 (0)