11 Commits

Author SHA1 Message Date
Yannik Schmidt
3579948407 fix: copy helper scripts instead of fixed 2025-04-17 11:58:44 +02:00
Yannik Schmidt
597a471949 fix: build unpackaged exe because of windwos defender 2025-04-17 11:53:24 +02:00
Yannik Schmidt
27d32e147b add: sqlalchemy to deps 2025-04-17 11:45:03 +02:00
Yannik Schmidt
ac8e8ad495 fix: add requests to explicit installs 2025-04-17 11:39:16 +02:00
Yannik Schmidt
3368048dd7 fix: pywin32 version in requirements 2025-04-17 11:32:28 +02:00
Yannik Schmidt
7f608019ed fix: install requirements & only build tags 2025-04-17 11:26:44 +02:00
Yannik Schmidt
839efae1a3 fix: use single line command because of windows 2025-04-17 11:10:31 +02:00
Yannik Schmidt
36e5cc3842 fix: indent for release job 2025-04-17 11:05:36 +02:00
Yannik Schmidt
5ab17e6f4c fix: use native gh commands instead of release action 2025-04-17 11:04:43 +02:00
Yannik Schmidt
2e5676d5a6 fix: move release.yaml to workflows 2025-04-17 10:50:51 +02:00
Yannik Schmidt
a2702d7f70 feat: github release & build 2025-04-17 10:48:49 +02:00
2 changed files with 46 additions and 1 deletions

43
.github/workflows/release.yaml vendored Normal file
View File

@@ -0,0 +1,43 @@
name: Build and Release EXE
on:
push:
tags:
- '*'
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r requirements.txt
- name: Build EXE
run: pyinstaller client.py
- name: Copy helper scripts
run: |
cp .\dist\run.bat .\dist\client\
cp .\dist\run.ps1 .\dist\client\
cp .\windows_run_as_admin.ps1 .\dist\client\
- name: Archive EXE
run: Compress-Archive -Path dist\ -DestinationPath release.zip
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create ${{ github.ref_name }} "release.zip" --generate-notes --title "release-${{ github.ref_name }}"

View File

@@ -4,4 +4,6 @@ customtkinter
tqdm
Jinja2
pyyaml
pywin32==<version>; platform_system=="Windows"
pywin32==306; platform_system=="Windows"
requests
sqlalchemy