mirror of
https://github.com/FAUSheppy/homelab_gamevault
synced 2025-12-06 06:51:36 +01:00
Compare commits
11 Commits
344d32901e
...
3579948407
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3579948407 | ||
|
|
597a471949 | ||
|
|
27d32e147b | ||
|
|
ac8e8ad495 | ||
|
|
3368048dd7 | ||
|
|
7f608019ed | ||
|
|
839efae1a3 | ||
|
|
36e5cc3842 | ||
|
|
5ab17e6f4c | ||
|
|
2e5676d5a6 | ||
|
|
a2702d7f70 |
43
.github/workflows/release.yaml
vendored
Normal file
43
.github/workflows/release.yaml
vendored
Normal 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 }}"
|
||||||
|
|
||||||
@@ -4,4 +4,6 @@ customtkinter
|
|||||||
tqdm
|
tqdm
|
||||||
Jinja2
|
Jinja2
|
||||||
pyyaml
|
pyyaml
|
||||||
pywin32==<version>; platform_system=="Windows"
|
pywin32==306; platform_system=="Windows"
|
||||||
|
requests
|
||||||
|
sqlalchemy
|
||||||
Reference in New Issue
Block a user