-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (32 loc) · 1009 Bytes
/
dart.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
41
42
name: iOS-ipa-build
on:
workflow_dispatch:
jobs:
build-ios:
name: 🎉 iOS Build
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
architecture: x64
- run: flutter pub get
- run: pod repo update
working-directory: ios
- run: flutter build ios --release --no-codesign
- run: mkdir Payload
working-directory: build/ios/iphoneos
- run: mv Runner.app/ Payload
working-directory: build/ios/iphoneos
- name: Zip output
run: zip -qq -r -9 FlutterIpaExport.ipa Payload
working-directory: build/ios/iphoneos
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/ios/iphoneos/FlutterIpaExport.ipa
tag: v1.0
overwrite: true
body: "This is first release"