ngn c414ded50c
All checks were successful
ups / ups (push) Successful in 42s
add the local bin dir to the path for ups-check
Signed-off-by: ngn <ngn@ngn.tf>
2025-05-12 19:11:59 +03:00

26 lines
530 B
YAML

name: ups
on:
push:
branches:
- "custom"
schedule:
- cron: "@weekly"
jobs:
ups:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: "https://github.com/actions/checkout@v4"
- name: Install ups
run: |
sudo apt update -y
sudo apt install -y python3 python3-build python3-requests make
git clone https://git.ngn.tf/ngn/ups && cd ups
make && make install
- name: Run ups
run: PATH=~/.local/bin:$PATH ups-check