-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (35 loc) · 1006 Bytes
/
CI_windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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