fix 2 #12
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: CI Windows | |
on: | |
push: | |
branches: | |
- master | |
- mgrr | |
- transformers | |
- gh-actions | |
jobs: | |
flutter-build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Download assets | |
run: | | |
$url = "https://github.com/ArthurHeitmann/F-SERVO/releases/download/assetsV0.7.0/assets.7z" | |
$output = "${{ runner.temp }}\assets.7z" | |
Invoke-WebRequest -Uri $url -OutFile $output | |
- name: Extract assets | |
shell: cmd | |
run: 7z x ${{ runner.temp }}/assets.7z -o.\assets | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.22.2' | |
- name: Get Packages | |
run: flutter pub get | |
- name: Build Release | |
run: flutter build windows --release | |
- name: Archive Release | |
uses: actions/upload-artifact@v2 | |
with: | |
name: windows | |
path: build/windows/x64/runner/Release |