-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (31 loc) · 1 KB
/
ios.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: unsigned-ipa-build
on:
workflow_dispatch:
jobs:
build-ios:
name: iOS Build (experimental/unsigned)
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
architecture: x64
- run: flutter pub get
working-directory: app/
- run: pod repo update
working-directory: app/ios
- run: flutter build ios --release --no-codesign --no-tree-shake-icons
working-directory: app/
- run: mkdir Payload
working-directory: app/build/ios/iphoneos
- run: mv Runner.app/ Payload
working-directory: app/build/ios/iphoneos
- name: Zip output
run: zip -qq -r -9 FlutterIpaExport.ipa Payload
working-directory: app/build/ios/iphoneos
- name: Upload binaries as artifact
uses: actions/upload-artifact@v2
with:
name: ios-binary
path: app/build/ios/iphoneos/FlutterIpaExport.ipa