-
-
Notifications
You must be signed in to change notification settings - Fork 3
56 lines (45 loc) · 1.23 KB
/
macos_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
name: macOS
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:
macos-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 macOS
run: cd confichat && flutter pub run flutter_oss_licenses:generate.dart
- name: Build macOS App
run: cd confichat && flutter build macos --release
# - name: Sign macOS App
# run: |
# cd confichat/build/macos/Build/Products/Release
# codesign --deep --force --verify --verbose --sign "Developer ID Application: confichat (TEAM_ID)" confichat.app