add release workflow
All checks were successful
format / format (push) Successful in 28s

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn 2025-05-12 19:58:55 +03:00
parent 527f8fa1e1
commit 4c13340ca0
Signed by: ngn
GPG Key ID: A3654DF5AD9F641D
3 changed files with 29 additions and 2 deletions

View File

@ -10,11 +10,11 @@ on:
- "pyproject.toml" - "pyproject.toml"
jobs: jobs:
build: format:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: "https://github.com/actions/checkout@v4" uses: actions/checkout@v4
- name: Install black formatter - name: Install black formatter
run: | run: |

View File

@ -0,0 +1,26 @@
name: release
on:
push:
tags:
- "*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build wheel package
run: |
sudo apt update -y
sudo apt install -y python3 python3-build python3-requests make
make
- name: Create release
uses: "https://gitea.com/actions/release-action@main"
with:
api_key: ${{secrets.REPO_TOKEN}}
files:
- "dist/**"

View File

@ -1,6 +1,7 @@
# ups | upstream scripts # ups | upstream scripts
![](https://git.ngn.tf/ngn/ups/actions/workflows/format.yml/badge.svg) ![](https://git.ngn.tf/ngn/ups/actions/workflows/format.yml/badge.svg)
![](https://git.ngn.tf/ngn/ups/actions/workflows/release.yml/badge.svg)
collection of bash and python scripts for pulling and managing patches from the collection of bash and python scripts for pulling and managing patches from the
upstream git repos of my personal forks upstream git repos of my personal forks