Skip to content

Commit

Permalink
ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurHeitmann committed Jul 22, 2024
1 parent 1344f9b commit fb993d1
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/CI_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI Windows

on:
push:
branches:
- master
- mgrr
- 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

0 comments on commit fb993d1

Please sign in to comment.