mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-09 10:23:11 +00:00
33 lines
682 B
YAML
33 lines
682 B
YAML
name: Windows Builder
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*.*.*'
|
|
|
|
jobs:
|
|
build-windows:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
# Install Python dependencies
|
|
- run: pip install requests pyyaml
|
|
|
|
# Install Flutter
|
|
- uses: subosito/flutter-action@v2
|
|
with:
|
|
flutter-version: '3.16.1'
|
|
channel: 'stable'
|
|
|
|
# Build Windows artifact
|
|
- run: flutter build windows
|
|
|
|
# Archive the build
|
|
- run: python ci.py --package-windows-archive
|
|
|
|
# Upload the build
|
|
- run: python ci.py --deploy-windows-archive
|
|
env:
|
|
GITEA_RELEASE_TOKEN: ${{ secrets.GITEA_RELEASE_TOKEN }}
|