-
-
Notifications
You must be signed in to change notification settings - Fork 3
58 lines (47 loc) · 1.38 KB
/
ios_build.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: iOS
on:
workflow_call:
inputs:
release_tag:
required: true
type: string
release_name:
required: true
type: string
push:
branches:
- '**'
paths-ignore:
- '**/*.md'
- '**.md'
- '.github/**'
- 'docs/**'
pull_request:
branches:
- main
jobs:
ios-build:
runs-on: macos-latest
steps:
- uses: actions/[email protected]
- name: Set up Java
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: '17'
- name: Set up Flutter
uses: subosito/[email protected]
with:
channel: 'stable'
- name: Install dependencies
run: cd confichat && flutter pub get
- name: Update third party licenses iOS
run: cd confichat && flutter pub run flutter_oss_licenses:generate.dart
- name: Build iOS App
run: cd confichat && flutter build ios --release --no-codesign
# - name: Sign iOS App
# run: |
# cd confichat/build/ios/iphoneos
# xcodebuild -workspace confichat.xcworkspace -scheme confichat -archivePath confichat.xcarchive archive
# xcodebuild -exportArchive -archivePath confichat.xcarchive -exportOptionsPlist ExportOptions.plist -exportPath .
# codesign --verify --verbose confichat.ipa