Merge pull request #11 from styrix560/4-handle-duplicate-seats #49
Workflow file for this run
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: Flutter Build | |
on: push | |
jobs: | |
test-and-build: | |
runs-on: windows-latest | |
steps: | |
- name: Configure git long paths | |
run: | | |
git config --system core.longpaths true | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
cache: true | |
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:" # optional, change this to force refresh cache | |
cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:" # optional, change this to specify the cache path | |
pub-cache-key: "flutter-pub-:os:-:channel:-:version:-:arch:-:hash:" # optional, change this to force refresh cache of dart pub get dependencies | |
pub-cache-path: "C:/Users/runneradmin/AppData/Local/Pub/Cache" # optional, change this to specify the cache path | |
- name: Integration testing | |
run: "flutter test integration_test" | |
- name: Build | |
run: flutter build windows | |
- name: Compress | |
run: | | |
xcopy /S build\windows\x64\runner\Release\ .\bbs4\ | |
powershell Compress-Archive .\bbs4 bbs4.zip | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
draft: false | |
prerelease: false | |
files: bbs4.zip |