Build IOS #12
This file contains 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 | |
on: | |
workflow_dispatch: {} | |
jobs: | |
Build_IOS: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- run: flutter --version | |
- run: flutter pub get | |
- run: flutter packages pub run build_runner build --delete-conflicting-outputs | |
- run: flutter build ios --release --no-codesign | |
- name: Create Payload directory and move Runner.app | |
run: | | |
mkdir -p build/ios/iphoneos/Payload | |
mv build/ios/iphoneos/Runner.app build/ios/iphoneos/Payload | |
- name: Change directory and zip Payload to create pixez-ios.ipa | |
run: | | |
cd build/ios/iphoneos/ | |
zip -r pixez-ios.ipa Payload | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: pixez-ios.ipa | |
path: build/ios/iphoneos/pixez-ios.ipa |