selfprivacy.org.app/.github/workflows/windows.yml

33 lines
682 B
YAML
Raw Normal View History

2023-02-17 01:11:58 +00:00
name: Windows Builder
2024-02-08 12:30:50 +00:00
on:
push:
tags:
- '*.*.*'
2023-02-17 01:11:58 +00:00
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:
2024-02-08 12:30:50 +00:00
flutter-version: '3.16.1'
2023-02-17 01:11:58 +00:00
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 }}