Fix test on linux #24
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: Windows | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- run: flutter config --enable-windows-desktop | |
- name: Verify formatting | |
run: dart format --output=none --set-exit-if-changed . | |
- name: Run tests | |
run: flutter test | |
- name: Build executable | |
run: flutter build windows --release | |
- name: Create bundle | |
run: | | |
mkdir release | |
pushd release | |
powershell Compress-Archive ../build/windows/x64/runner/Release/* reqif-editor-windows-x64.zip | |
popd |