selfprivacy.org.app/.github/workflows/windows.yml
2024-02-08 14:30:50 +02:00

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 }}