mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-06 05:49:03 +08:00
Create windows.yml
This commit is contained in:
23
.github/workflows/windows.yml
vendored
Normal file
23
.github/workflows/windows.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Windows build
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
jobs:
|
||||
windows:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Check Out
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: stable
|
||||
- name: Build
|
||||
run: flutter build windows --release
|
||||
- name: Package files
|
||||
run: cd build/windows/runner/Release && 7z a -mx9 -y ../../../../windows.7z
|
||||
- name: Upload files
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: windows
|
||||
path: ./windows.7z
|
||||
Reference in New Issue
Block a user