1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 09:46:25 +00:00
Files
kcc/.github/workflows/package-windows.yml
2023-01-14 00:27:52 +01:00

41 lines
1.0 KiB
YAML

# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: build KCC for windows
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel pyinstaller
pip install -r requirements.txt
- name: build binary
run: |
python setup.py build_binary
- name: upload build
uses: actions/upload-artifact@v3
with:
name: windows-build
path: dist/*.exe
- name: Release
uses: softprops/action-gh-release@v1
with:
prerelease: true
generate_release_notes: true
files: |
CHANGELOG.md
LICENSE.txt
dist/*.exe