From 7523f66fe483f9d82ec02b490c8a2ec9bccc10a2 Mon Sep 17 00:00:00 2001 From: korn20123 Date: Wed, 11 Feb 2026 15:29:01 +0100 Subject: [PATCH] added build workflow --- .gitea/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..acd34bd --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,29 @@ +name: PyInstaller Build +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Install Dependencies + run: | + pip install -r requirements.txt + pip install pyinstaller + + - name: Build with PyInstaller + run: | + pyinstaller --onefile --name myapp main.py + + - name: Upload Executable + uses: actions/upload-artifact@v3 + with: + name: myapp-linux + path: dist/myapp \ No newline at end of file