Skip to content

Commit 16942d8

Browse files
committed
Add GitHub Actions workflow for iOS build
1 parent 76b0ecc commit 16942d8

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/ios.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build iOS App
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: macos-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Set up Flutter
17+
uses: subosito/flutter-action@v2
18+
with:
19+
flutter-version: 'stable'
20+
21+
- name: Install dependencies
22+
run: flutter pub get
23+
24+
- name: Build iOS app
25+
run: flutter build ios --release
26+
27+
- name: Upload artifact
28+
uses: actions/upload-artifact@v2
29+
with:
30+
name: build-output
31+
path: build/ios/ipa

0 commit comments

Comments
 (0)