mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-05 16:33:13 +00:00
30 lines
652 B
YAML
30 lines
652 B
YAML
name: Windows Builder
|
|
|
|
on: tag
|
|
|
|
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.3.10'
|
|
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 }}
|