Files
mobbing-notification/.gitea/workflows/release-win.yml
2026-02-19 22:39:21 +01:00

32 lines
734 B
YAML

name: Windows build & release
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
build:
runs-on: 'ubuntu-latest'
container:
image: batonogov/pyinstaller-windows:latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: pip install .
- name: Build executable
run: pyinstaller mobbing_notification.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 }}