Refinements

This commit is contained in:
Ircama
2024-07-29 21:03:03 +02:00
parent 24010451ad
commit 47d41da010
4 changed files with 141 additions and 34 deletions

View File

@@ -1,7 +1,9 @@
name: Build Workflow
on:
push:
push:
tags:
- "v*.*.*"
jobs:
build-windows:
@@ -10,7 +12,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: '3.11'
architecture: 'x64'
@@ -23,8 +25,13 @@ jobs:
run: |
python -m PyInstaller epson_print_conf.spec -- --default
- name: Generate Changelog
shell: bash
run: echo "# This executable is auto-generated by a GitHub Action" > ${{ github.workspace }}-CHANGELOG.txt
- name: Create Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
body_path: ${{ github.workspace }}-CHANGELOG.txt
files: dist/epson_print_conf.exe