Skip to content

Merge pull request #8 from 1runeberg/patch-v0.6.1 #31

Merge pull request #8 from 1runeberg/patch-v0.6.1

Merge pull request #8 from 1runeberg/patch-v0.6.1 #31

Workflow file for this run

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/checkout@v4.1.7
- name: Set up Java
uses: actions/setup-java@v4.2.2
with:
distribution: 'zulu'
java-version: '17'
- name: Set up Flutter
uses: subosito/flutter-action@v2.16.0
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