v2: ci updates

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
nfel 2024-11-23 16:25:03 +03:30
parent cdd45c2707
commit c92810ad5b
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -26,14 +26,14 @@ jobs:
run: |
mkdir tmp && cd tmp
curl -SsOL https://dl.gitea.com/tea/main/tea-main-linux-amd64.xz
apt install xz-utils -y
apt install xz-utils -y >/dev/null
xz -d tea-main-linux-amd64.xz
ls -ahl
mv tea-main-linux-amd64 /usr/bin/tea
chmod +x /usr/bin/tea
cd ..
rm -rf tmp
tea --version
tea login \
tea login add \
--name ${{ gitea.server_url }} \
--token ${{ secrets.PROD_REG_TOKEN }} \
--url ${{ gitea.server_url }}