From 53941da35c490a1b78251682fd1c96c8fb8b951a Mon Sep 17 00:00:00 2001 From: Naiel <109038805+naielv@users.noreply.github.com> Date: Tue, 3 Mar 2026 10:21:47 +0100 Subject: [PATCH] Update Windows agent release workflow for PyInstaller --- .github/workflows/windows-agent-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows-agent-release.yml b/.github/workflows/windows-agent-release.yml index cdabf1e..edabf8c 100644 --- a/.github/workflows/windows-agent-release.yml +++ b/.github/workflows/windows-agent-release.yml @@ -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'