30 lines
701 B
YAML
30 lines
701 B
YAML
name: Windows build & release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: 'ubuntu-latest'
|
|
container:
|
|
image: batonogov/pyinstaller-windows:latest
|
|
|
|
steps:
|
|
- 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 }} |