From fd8d41dbb1b077d5e0db96f1a4a1f90e352ffeae Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Thu, 10 Oct 2024 17:59:26 +0200 Subject: [PATCH] update workflow --- .gitea/workflows/windows_build.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/windows_build.yaml b/.gitea/workflows/windows_build.yaml index d516e50..a23897d 100644 --- a/.gitea/workflows/windows_build.yaml +++ b/.gitea/workflows/windows_build.yaml @@ -1,3 +1,5 @@ +name: Build Windows Executable + on: push: branches: @@ -21,8 +23,7 @@ jobs: # Step 4: Build the executable using PyInstaller - name: Build with PyInstaller run: | - pyinstaller --noconfirm --onedir --windowed --icon "icons/1490971308-map-icons-7_82746.ico" --name "LibrarySystem" --clean --add-data "config;config/" --add-data "icons;icons/" main.py - + yinstaller --noconfirm --onedir --windowed --icon "icons/icon.ico" --name "LibrarySystem" --clean --add-data "config;config/" --add-data "icons;icons/" "main.py" # Step 5: Upload the artifact (the built executable) - name: Upload Build Artifacts uses: actions/upload-artifact@v3