Update .forgejo/workflows/packages.yaml
Signed-off-by: xengi <forgejo@xengi.de>
This commit is contained in:
parent
5856738af7
commit
1df7975ecb
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
- name: Get versions
|
||||
id: versions
|
||||
run: |
|
||||
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 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: |
|
||||
|
|
@ -394,7 +394,7 @@ jobs:
|
|||
- name: Get versions
|
||||
id: versions
|
||||
run: |
|
||||
echo upstream=$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/${{ env.PACKAGE_NAME }}/${{ env.PACKAGE_NAME }}/releases/latest | jq -r ".tag_name | \"\(.[1:])\"") >> "$FORGEJO_OUTPUT"
|
||||
echo upstream=$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/${{ env.PACKAGE_NAME }}/${{ 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: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue