Replace runner workflow with direct binary release publisher via Gitea API

This commit is contained in:
2026-09-03 21:39:23 +02:00
parent 52fd645f17
commit 5974811c29
3 changed files with 27 additions and 52 deletions
-36
View File
@@ -1,36 +0,0 @@
name: Release Binaries
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Build Dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller -r requirements.txt
- name: Compile Standalone Binaries
run: |
python package_dist.py
- name: Publish Release (Binaries Only)
uses: https://gitea.com/actions/gitea-release-action@v1
with:
files: |
dist/*
api_key: ${{ secrets.TAG_TOKEN || github.token }}
token: ${{ secrets.TAG_TOKEN || github.token }}