Update Windows agent release workflow for PyInstaller

This commit is contained in:
Naiel
2026-03-03 10:21:47 +01:00
committed by GitHub
parent 105c911c59
commit 53941da35c

View File

@@ -31,13 +31,13 @@ jobs:
- name: Build hidden EXE with PyInstaller
shell: bash
run: |
pyinstaller --noconfirm --clean --onefile --noconsole --name telesec-windows-agent python_sdk/windows_agent.py
cd python_sdk ; pyinstaller --noconfirm --clean --onefile --noconsole --hidden-import=telesec_couchdb --name telesec-windows-agent windows_agent.py
- name: Upload workflow artifact
uses: actions/upload-artifact@v4
with:
name: telesec-windows-agent
path: dist/telesec-windows-agent.exe
path: python_sdk/dist/telesec-windows-agent.exe
- name: Upload asset to GitHub Release
if: github.event_name == 'release'