install ups from the git instead of the release
All checks were successful
ups / ups (push) Successful in 44s

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn 2025-05-12 21:40:07 +03:00
parent f3d8f7c4f4
commit a684d1c990
Signed by: ngn
GPG Key ID: A3654DF5AD9F641D

View File

@ -17,13 +17,12 @@ jobs:
- name: Install dependencies
run: |
sudo apt update -y
sudo apt install -y curl jq python3 python3-requests
sudo apt install -y python3 python3-build python3-requests make
- name: Install ups
run: |
version=$(curl -s 'https://git.ngn.tf/api/v1/repos/ngn/ups/releases/latest' | jq -r .tag_name)
wget "https://git.ngn.tf/ngn/ups/releases/download/${version}/ups-${version}-py3-none-any.whl"
pip3 install --force-reinstall --break-system-packages "ups-${version}-py3-none-any.whl"
git clone https://git.ngn.tf/ngn/ups && cd ups
make && make install
- name: Run ups
run: PATH=~/.local/bin:$PATH ups-check