test upload
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 54s

This commit is contained in:
Clément CHABANNE 2024-06-09 02:02:50 +02:00
parent 42976354a2
commit 61c83c137e

View File

@ -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" \