From b891fd08d059e38b06e9bd24726fac2d5c18b3d0 Mon Sep 17 00:00:00 2001 From: a-mosquito <91326954+a-mosquito@users.noreply.github.com> Date: Mon, 9 Oct 2023 18:20:00 +0200 Subject: [PATCH] Update build_windows.yml --- .github/workflows/build_windows.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index a5511a8..9a776d2 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -5,6 +5,9 @@ name: Create Standalone (Windows) on: release: types: [published] + push: + branches: + - main jobs: build: @@ -21,12 +24,11 @@ jobs: run: | python -m pip install --upgrade pip pip install poetry - poetry config virtualenvs.in-project true poetry install - name: Create executable run: | - poetry shell + .venv/Scripts/activate pip install pyinstaller pyinstaller start_gui.spec 7z a -tzip esb_gui_windows.zip ./dist/start_gui.exe