Revised comments

This commit is contained in:
Ircama 2024-08-07 08:53:47 +02:00
parent c9beecf526
commit ba1a59815d

View file

@ -1,4 +1,4 @@
name: Build Workflow name: Build Workflow for epson_print_conf.exe/zip
on: on:
push: push:
@ -9,7 +9,7 @@ jobs:
build-windows: build-windows:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- name: Checkout - name: Git Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install Python - name: Install Python
@ -18,25 +18,30 @@ jobs:
python-version: '3.11' python-version: '3.11'
architecture: 'x64' architecture: 'x64'
- name: Install requirements - name: Install Python Requirements
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
#pip install git+https://github.com/pyinstaller/pyinstaller@develop #pip install git+https://github.com/pyinstaller/pyinstaller@develop
pip install pyinstaller pip install pyinstaller
pip install -r requirements.txt pip install -r requirements.txt
- name: Run PyInstaller - name: Run PyInstaller to create epson_print_conf.exe
run: | run: |
python -m PyInstaller epson_print_conf.spec -- --default python -m PyInstaller epson_print_conf.spec -- --default
- name: Zip EXE - name: Zip the epson_print_conf.exe asset to epson_print_conf.zip
run: | run: >
powershell -Command Compress-Archive dist/epson_print_conf.exe dist/epson_print_conf.zip powershell -Command Compress-Archive dist/epson_print_conf.exe
dist/epson_print_conf.zip
- name: Generate Changelog - name: Generate Changelog
run: echo "The executable file in the *epson_print_conf.zip* archive within the assets below is auto-generated by a [GitHub Action](.github/workflows/build.yml)." > ${{ github.workspace }}-CHANGELOG.txt run: >
echo "The *epson_print_conf.exe* executable file in the
*epson_print_conf.zip* archive within the assets below is
auto-generated by a [GitHub Action](.github/workflows/build.yml)."
> ${{ github.workspace }}-CHANGELOG.txt
- name: Create Release - name: Create Release, uploading the epson_print_conf.zip asset
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
with: with: