Update .forgejo/workflows/packages.yaml

This commit is contained in:
XenGi 2026-08-12 23:06:12 +02:00
commit 5856738af7

View file

@ -23,7 +23,7 @@ jobs:
- name: Get versions
id: versions
run: |
echo upstream=$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/sensu/${{ env.PACKAGE_NAME }}/releases/latest | jq -r ".tag_name | \"\(.[1:])\"") >> "$FORGEJO_OUTPUT"
echo upstream=$(curl -sL -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/sensu/${{ env.PACKAGE_NAME }}/releases/latest | jq -r ".tag_name | \"\(.[1:])\"") >> "$FORGEJO_OUTPUT"
echo aur=$(curl -sL 'https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=${{ env.PACKAGE_NAME }}' | jq -r '.results[0].Version | split("-")[0]') >> "$FORGEJO_OUTPUT"
- name: Setup SSH
run: |