remove the release workflow
All checks were successful
format / format (push) Successful in 16s

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn 2025-05-12 21:46:13 +03:00
parent 51f4d198e9
commit ba1f0284c3
Signed by: ngn
GPG Key ID: A3654DF5AD9F641D
2 changed files with 33 additions and 34 deletions

View File

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

View File

@ -1,7 +1,6 @@
# ups | upstream scripts
![](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
upstream git repos of my personal forks
@ -95,3 +94,36 @@ paths of the patches:
]
...
```
### workflow
here's an example gitea workflow action to run ups every week and check for any
upstream updates:
```yaml
name: ups
on:
schedule:
- cron: "@weekly"
jobs:
ups:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update -y
sudo apt install -y python3 python3-build python3-requests make
- name: Install ups
run: |
git clone https://git.ngn.tf/ngn/ups && cd ups
make && make install
- name: Run ups
run: PATH=~/.local/bin:$PATH ups-check
```