Files
mobbing-notification/.gitea/workflows/release-win.yml
2026-02-12 21:56:45 +01:00

35 lines
776 B
YAML

name: Windows build & release
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
build:
runs-on: 'windows-latest'
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install uv
run: |
pip install uv
- name: Build executable
run: uv run pyinstaller build-win.spec
# - name: Create ZIP archive
# run: Compress-Archive -Path ./dist/wunderland-generator.exe -Destination ./dist/wunderland-generator.zip
# - name: Release ZIP archive
# uses: softprops/action-gh-release@v1
# with:
# files: ./dist/wunderland-generator.zip
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}