major update

This commit is contained in:
naielv
2025-12-12 19:13:53 +01:00
parent cca21ac3d3
commit 60a7649c36
28 changed files with 917 additions and 854 deletions

View File

@@ -1,46 +0,0 @@
name: Build and publish clients
on:
push:
tags:
- "v*.*.*"
jobs:
build-windows:
permissions:
contents: write
name: Build EXE
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: "Build Files"
run: "python3 build.py 'TeleSec para Windows'"
- name: Create Executable
uses: sayyid5416/pyinstaller@v1
with:
python_ver: "3.11"
spec: "WinApp.spec"
requirements: "requirements.txt"
upload_exe_with_name: "TeleSec_Windows"
release:
needs:
- build-windows
name: Release via GHA
runs-on: ubuntu-latest
if: startsWith(github.ref_name, 'v')
permissions:
contents: write
steps:
- uses: actions/download-artifact@v4
with:
name: TeleSec_Windows
- uses: ncipollo/release-action@v1
with:
artifacts: "TeleSec para Windows.exe"
prerelease: true
allowUpdates: true
omitBodyDuringUpdate: true
omitPrereleaseDuringUpdate: true

View File

@@ -34,7 +34,7 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build
run: python3 build.py
run: TELESEC_HOSTER=GitHub-Pages python3 build.py
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with: