Create build.yml #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |