Update .forgejo/workflows/packages.yaml
This commit is contained in:
parent
1df7975ecb
commit
250b5abf41
1 changed files with 3 additions and 3 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 "Authorization: Bearer ${{ secrets.GH_API_TOKEN }}" -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: |
|
||||
|
|
@ -244,7 +244,7 @@ jobs:
|
|||
- name: Get versions
|
||||
id: versions
|
||||
run: |
|
||||
echo upstream=$(curl -sL "https://api.github.com/repos/justinmayer/${{ env.PACKAGE_NAME }}/releases/latest" | jq -r '.tag_name') >> "$FORGEJO_OUTPUT"
|
||||
echo upstream=$(curl -sL -H "Authorization: Bearer ${{ secrets.GH_API_TOKEN }}" https://api.github.com/repos/justinmayer/${{ env.PACKAGE_NAME }}/releases/latest | jq -r '.tag_name') >> "$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 -sL -H "Authorization: Bearer ${{ secrets.GH_API_TOKEN }}" -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