Configure Gitea Actions release workflow to compile and publish standalone binaries via runner
Release Binaries / release (push) Failing after 7m17s
Release Binaries / release (push) Failing after 7m17s
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
name: Release Binaries
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
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
|
||||
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 }}
|
||||
Reference in New Issue
Block a user