mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-16 04:20:30 +00:00
Create build_ipa.yml
This commit is contained in:
parent
ff92a9dbea
commit
7424659486
1 changed files with 44 additions and 0 deletions
44
.github/workflows/build_ipa.yml
vendored
Normal file
44
.github/workflows/build_ipa.yml
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
name: Build IPA
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Xcode
|
||||
run: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
brew install cocoapods
|
||||
pod install --project-directory=.
|
||||
|
||||
- name: Build IPA for sideloading
|
||||
run: |
|
||||
xcodebuild -workspace StikJIT.xcworkspace \
|
||||
-scheme StikJIT \
|
||||
-sdk iphoneos \
|
||||
-configuration Release \
|
||||
-archivePath ${{ github.workspace }}/StikJIT.xcarchive archive
|
||||
xcodebuild -exportArchive \
|
||||
-archivePath ${{ github.workspace }}/StikJIT.xcarchive \
|
||||
-exportPath ${{ github.workspace }}/build \
|
||||
-exportOptionsPlist ExportOptions.plist \
|
||||
-allowProvisioningUpdates
|
||||
|
||||
- name: Upload IPA artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: StikJIT.ipa
|
||||
path: build/StikJIT.ipa
|
||||
Loading…
Add table
Add a link
Reference in a new issue