Skip to content

Commit b275778

Browse files
authored
Create build.yml
1 parent d883b18 commit b275778

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build IPA
2+
on: [push]
3+
4+
jobs:
5+
build:
6+
runs-on: macos-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
10+
- name: Install XcodeGen
11+
run: brew install xcodegen
12+
13+
- name: Generate Project & Build
14+
run: |
15+
xcodegen generate
16+
xcodebuild archive \
17+
-project SimpleCalc.xcodeproj \
18+
-scheme SimpleCalc \
19+
-archivePath build/SimpleCalc.xcarchive \
20+
-sdk iphoneos \
21+
CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO
22+
23+
mkdir -p Payload
24+
cp -r build/SimpleCalc.xcarchive/Products/Applications/SimpleCalc.app Payload/
25+
zip -r SimpleCalc.ipa Payload
26+
27+
- name: Upload Artifact
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: SimpleCalc-IPA
31+
path: SimpleCalc.ipa

0 commit comments

Comments
 (0)