Stage v0.4.0 #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |