Delete .gitea/workflows/windows_build.yaml
unable to get stuff working, switching to using updater instead
This commit is contained in:
@@ -1,32 +0,0 @@
|
|||||||
name: Build Windows Executable
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: windows-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.12.5
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install -r requirements.txt
|
|
||||||
pip install pyinstaller
|
|
||||||
|
|
||||||
# Step 4: Build the executable using PyInstaller
|
|
||||||
- name: Build with PyInstaller
|
|
||||||
run: |
|
|
||||||
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
|
|
||||||
with:
|
|
||||||
name: LibrarySystemExecutable
|
|
||||||
path: ./dist/LibrarySystem
|
|
||||||
Reference in New Issue
Block a user