-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (29 loc) · 897 Bytes
/
build.yml
File metadata and controls
35 lines (29 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build iOS IPA
on: [push]
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Cordova
run: npm install -g cordova
- name: Create App Project
run: |
cordova create build-folder com.yourname.gtatool GTATool
cd build-folder
cordova platform add ios
cp ../index.html www/index.html
- name: Build IPA (Unsigned)
run: |
cd build-folder
cordova build ios --codeSignIdentity="" --developmentTeam="" --packageType="development"
- name: Upload IPA Artifact
uses: actions/upload-artifact@v4
with:
name: gta-tool-ipa
path: build-folder/platforms/ios/build/device/*.ipa