Update README.md #36
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: Flutter iOS Unsigned Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| build_ios: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v3 | |
| - name: Set up Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: '3.22.0' | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Build iOS (unsigned) | |
| run: | | |
| flutter build ios --no-codesign --release | |
| - name: Zip IPA for download | |
| run: | | |
| mkdir -p build/ios/ipa | |
| cd build/ios/iphoneos | |
| zip -r ../ipa/app_unsigned.zip . | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ios-unsigned | |
| path: build/ios/ipa/app_unsigned.zip |