From 0c63b8742aad883d881d39deebc188772b801343 Mon Sep 17 00:00:00 2001 From: Lain Iwakura Date: Thu, 7 Aug 2025 00:08:55 +0300 Subject: [PATCH] trying to autobuild ipa --- workflows/build-ipa.yml | 45 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 workflows/build-ipa.yml diff --git a/workflows/build-ipa.yml b/workflows/build-ipa.yml new file mode 100644 index 0000000..c66fb7f --- /dev/null +++ b/workflows/build-ipa.yml @@ -0,0 +1,45 @@ +name: Build IPA + +on: + push: + branches: [ main, master ] + pull_request: + branches: [ main, master ] + workflow_dispatch: + +jobs: + build: + runs-on: macos-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Xcode + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '15.0' + + - name: Build Archive + run: | + xcodebuild -project MobileMkch/MobileMkch.xcodeproj \ + -scheme MobileMkch \ + -configuration Release \ + -destination 'generic/platform=iOS' \ + -archivePath MobileMkch.xcarchive \ + archive + + - name: Create Payload + run: | + mkdir -p Payload + cp -r MobileMkch.xcarchive/Products/Applications/MobileMkch.app Payload/ + + - name: Create IPA + run: | + zip -r MobileMkch.ipa Payload/ + + - name: Upload IPA + uses: actions/upload-artifact@v4 + with: + name: MobileMkch-ipa + path: MobileMkch.ipa \ No newline at end of file