diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index cd5b1e9..cf50771 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -49,9 +49,11 @@ jobs: }' \ "${{ vars.GIT_URL }}/api/v1/repos/${{ gitea.repository }}/releases" - RELEASE_ID=$(curl -H "Authorization: token ${{ secrets.GIT_TOKEN }}" \ + RESPONSE=$(curl -H "Authorization: token ${{ secrets.GIT_TOKEN }}" \ -H "Content-Type: application/json" \ - "${{ vars.GIT_URL }}/api/v1/repos/${{ gitea.repository }}/releases/tags/${{ gitea.ref }}" | jq -r '.id') + "${{ vars.GIT_URL }}/api/v1/repos/${{ gitea.repository }}/releases/tags/${{ gitea.ref }}") + echo "Response: $RESPONSE" + RELEASE_ID=$(echo $RESPONSE | jq -r '.id') curl -X POST -H "Authorization: token ${{ secrets.GIT_TOKEN }}" \ -H "Content-Type: multipart/form-data" \