25 lines
477 B
YAML
25 lines
477 B
YAML
name: ups
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "custom"
|
|
schedule:
|
|
- cron: "@weekly"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: "https://github.com/actions/checkout@v4"
|
|
|
|
- name: Install ups
|
|
run: |
|
|
sudo apt install -y python3 python-build python-requests make
|
|
git clone https://git.ngn.tf/ngn/ups && cd ups
|
|
make && make install
|
|
|
|
- name: Run ups
|
|
run: ups-check
|