ci: retry automation
All checks were successful
repod / xml (push) Successful in 15s
repod / php (push) Successful in 56s
repod / nodejs (push) Successful in 2m1s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-01-16 14:51:06 +01:00
parent 25c6c515e0
commit 5ef0a9612a

View File

@ -68,3 +68,19 @@ jobs:
with: with:
files: | files: |
build/artifacts/repod.tar.gz build/artifacts/repod.tar.gz
- uses: FKLC/sign-files-action@v1.0.0
with:
privateKey: ${{ secrets.PRIVATEKEY }}
algorithm: 'RSA-SHA512'
extension: '.sig'
files: |
build/artifacts/repod.tar.gz
- id: sign
run: echo "SIGNATURE=$(cat build/artifacts/repod.sig)" >> $GITHUB_OUTPUT
- uses: actionsflow/axios@v1
with:
url: https://apps.nextcloud.com/api/v1/apps/releases
method: POST
accept: 200,201
headers: '{ "Authorization": "Token <<<${{ secrets.TOKEN }}>>>" }'
data: '{ "download": "https://git.crystalyx.net/Xefir/repod/releases/download/<<<${{ gitea.ref_name }}>>>/repod.tar.gz", "signature": "<<<${{ steps.sign.outputs.SIGNATURE }}>>>" }'