Skip to content

Commit

Permalink
build(ci): Fix build on Windos
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 committed Nov 25, 2023
1 parent bee0eff commit 680edd5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches: [ "master" ]

env:
CI_FLUTTER_VERSION: 3.16.x

jobs:
build-linux-android:
name: Build Linux and Android
Expand All @@ -16,7 +19,7 @@ jobs:
java-version: '11'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.x'
flutter-version: '$CI_FLUTTER_VERSION'
- run: |
sudo apt update -y
sudo apt install -y ninja-build libgtk-3-dev
Expand All @@ -31,7 +34,7 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: '3.16.x'
flutter-version: '$CI_FLUTTER_VERSION'
- run: flutter pub get
- run: dart run build_runner build
- run: flutter build windows

0 comments on commit 680edd5

Please sign in to comment.