Skip to content

Commit 7fd3fc0

Browse files
authored
Create build.yml
1 parent 5c63332 commit 7fd3fc0

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/build.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build iOS IPA
2+
on: [push]
3+
4+
jobs:
5+
build:
6+
runs-on: macos-latest
7+
steps:
8+
- name: Checkout Code
9+
uses: actions/checkout@v4
10+
11+
- name: Setup Node.js
12+
uses: actions/setup-node@v4
13+
with:
14+
node-version: '20'
15+
16+
- name: Install Cordova
17+
run: npm install -g cordova
18+
19+
- name: Create App Project
20+
run: |
21+
cordova create build-folder com.yourname.gtatool GTATool
22+
cd build-folder
23+
cordova platform add ios
24+
cp ../index.html www/index.html
25+
26+
- name: Build IPA (Unsigned)
27+
run: |
28+
cd build-folder
29+
cordova build ios --codeSignIdentity="" --developmentTeam="" --packageType="development"
30+
31+
- name: Upload IPA Artifact
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: gta-tool-ipa
35+
path: build-folder/platforms/ios/build/device/*.ipa

0 commit comments

Comments
 (0)