-
-
Notifications
You must be signed in to change notification settings - Fork 52
39 lines (37 loc) · 1.14 KB
/
flutter-windows-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
name: Flutter Windows
on:
push:
tags:
- '**'
jobs:
build:
name: Flutter Build on Windows
runs-on: windows-latest
steps:
- name: core.symlinks
run: |
git config --global core.symlinks true
- name: Support long paths
run: git config --system core.longpaths true
- uses: actions/checkout@v3
- uses: kuhnroyal/flutter-fvm-config-action@v2
id: fvm-config-action
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
- name: Flutter Doctor
run: make doctor
- name: Flutter get dependencies
run: flutter pub get
- name: Flutter generate l10n
run: flutter gen-l10n
- name: Flutter build
run: flutter build windows
- name: Flutter create MSIX
run: flutter pub run msix:create
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/windows/runner/Release/lotti.msix