From 893e80f3e757bacdaf06b180f8e08a677560f632 Mon Sep 17 00:00:00 2001 From: Stephen B <158498287+StephenDev0@users.noreply.github.com> Date: Mon, 6 Oct 2025 16:11:38 -0400 Subject: [PATCH] Update build_ipa.yml --- .github/workflows/build_ipa.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_ipa.yml b/.github/workflows/build_ipa.yml index e11c428..3680ead 100644 --- a/.github/workflows/build_ipa.yml +++ b/.github/workflows/build_ipa.yml @@ -1,4 +1,4 @@ -name: Build Alpha IPA +name: Build Unsigned Debug IPA on: push: @@ -7,10 +7,13 @@ on: branches: [ "main" ] workflow_dispatch: +permissions: + contents: write + jobs: build: name: Build Debug IPA - runs-on: macos-latest + runs-on: macos-latest steps: - name: Checkout @@ -19,7 +22,7 @@ jobs: - name: Setup Xcode (latest stable) uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: 'latest-stable' + xcode-version: 'latest-stable' - name: Archive Build (Debug, Unsigned) run: | @@ -39,10 +42,7 @@ jobs: - name: Create IPA from Archive run: | - # Copy the .app from the archive cp -R build/StikDebug.xcarchive/Products/Applications/StikDebug.app . - - # Package the app into an IPA mkdir -p Payload cp -R StikDebug.app Payload/ zip -r StikDebug.ipa Payload @@ -56,12 +56,15 @@ jobs: retention-days: 90 - name: Create or Update GitHub Release (GitHub-Alpha) + if: github.event_name == 'push' && github.ref == 'refs/heads/main' uses: softprops/action-gh-release@v2 with: tag_name: GitHub-Alpha name: GitHub-Alpha - draft: false prerelease: true - files: StikDebug.ipa + generate_release_notes: true + target_commitish: ${{ github.sha }} + files: | + StikDebug.ipa env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}