major update
This commit is contained in:
46
.github/workflows/main.yml
vendored
46
.github/workflows/main.yml
vendored
@@ -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
|
||||
2
.github/workflows/static.yml
vendored
2
.github/workflows/static.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user