Skip to content

Initialize window_hints to fix minimum size setting in release mode #112

Initialize window_hints to fix minimum size setting in release mode

Initialize window_hints to fix minimum size setting in release mode #112

Workflow file for this run

name: build
on:
push:
branches: [main, dev]
pull_request:
branches: [main]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.24.3"
channel: "stable"
- run: |
sudo apt-get update
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
sudo apt-get install -y ayatana-appindicator3-0.1
- uses: bluefireteam/melos-action@v3
- working-directory: ./packages/window_manager/example
run: |
flutter build linux --release
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.24.3"
channel: "stable"
- uses: bluefireteam/melos-action@v3
- working-directory: ./packages/window_manager/example
run: |
flutter build macos --release
build-web:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.24.3"
channel: "stable"
- uses: bluefireteam/melos-action@v3
- working-directory: ./packages/window_manager/example
run: |
flutter build web --release
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.24.3"
channel: "stable"
- uses: bluefireteam/melos-action@v3
- working-directory: ./packages/window_manager/example
run: |
flutter build windows --release