update workflow
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
name: Build Windows Executable
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
@@ -21,8 +23,7 @@ jobs:
|
|||||||
# Step 4: Build the executable using PyInstaller
|
# Step 4: Build the executable using PyInstaller
|
||||||
- name: Build with PyInstaller
|
- name: Build with PyInstaller
|
||||||
run: |
|
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)
|
# Step 5: Upload the artifact (the built executable)
|
||||||
- name: Upload Build Artifacts
|
- name: Upload Build Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user