android: MinSDK Version: 24 #271
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: MSIX | |
on: | |
push: | |
branches: [release] | |
jobs: | |
build: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Set Git to use LF | |
run: | | |
git config --global core.autocrlf input | |
git config --global core.eol lf | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.24.3' | |
- name: Export environment valuables | |
run: export | |
- name: Create App version | |
run: git fetch --tags; git tag; git log -n1; bash -x ./version.sh | |
- name: Print Flutter SDK version | |
run: flutter --version | |
- name: Install dependencies | |
run: bash -x ./flutter-windows-init.sh | |
- name: Build msix | |
run: cd src/ui/flutter_app; flutter build windows --release -v; dart run msix:create | |
- name: Archive msix | |
uses: actions/upload-artifact@v4 | |
with: | |
name: sanmill-msix | |
path: src/ui/flutter_app/build/windows/x64/runner/Release/sanmill.msix |