From 84b09e4de3b8551fd5712f6b4e3ee1bcd1540a28 Mon Sep 17 00:00:00 2001 From: Stephen B <158498287+StephenDev0@users.noreply.github.com> Date: Wed, 3 Dec 2025 18:54:26 -0500 Subject: [PATCH] Update build_ipa.yml for conditional IPA upload Added conditional upload and release for IPA based on UPLOAD_IPA environment variable. --- .github/workflows/build_ipa.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_ipa.yml b/.github/workflows/build_ipa.yml index 9836e3e..23a7ee6 100644 --- a/.github/workflows/build_ipa.yml +++ b/.github/workflows/build_ipa.yml @@ -9,11 +9,13 @@ on: permissions: contents: write - + jobs: build: name: Build Debug IPA runs-on: macos-latest + env: + UPLOAD_IPA: ${{ vars.UPLOAD_IPA || 'false' }} steps: - name: Checkout @@ -49,6 +51,7 @@ jobs: rm -rf Payload StikDebug.app - name: Upload Debug IPA (artifact) + if: env.UPLOAD_IPA == 'true' uses: actions/upload-artifact@v4 with: name: StikDebug-Debug.ipa @@ -56,7 +59,7 @@ jobs: retention-days: 90 - name: Create or Update GitHub Release (GitHub-Alpha) - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: env.UPLOAD_IPA == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main' uses: softprops/action-gh-release@v2 with: tag_name: GitHub-Alpha