Add GitHub Actions workflow for iOS build #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 App | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: 'stable' | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Build iOS app | |
run: flutter build ios --release | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: build-output | |
path: build/ios/ipa |