blog2epub/.github/workflows/windows_build.yml
2025-11-12 23:32:18 +01:00

32 lines
784 B
YAML

name: Windows build
on:
push:
branches:
- master
env:
KIVY_GL_BACKEND: angle_sdl2
jobs:
windows-build:
runs-on: windows-latest
steps:
- name: Create Executable
uses: sayyid5416/pyinstaller@v1
with:
python_ver: '3.12'
spec: 'blog2epub_windows.spec'
requirements: 'requirements.txt'
upload_exe_with_name: blog2epub_v1.5.0_win32
- name: Create installer
run: |
choco install nsis
& 'C:\Program Files (x86)\NSIS\makensis' .\blog2epub_windows_installer.nsi
- name: Upload installer
uses: actions/upload-artifact@v4
with:
name: blog2epub_1.5.0_setup.exe
path: ./dist/blog2epub_1.5.0_setup.exe
compression-level: 0