+1
-1
@@ -24,7 +24,7 @@ runs:
|
||||
- id: create-release
|
||||
shell: bash
|
||||
run: |
|
||||
RESPONSE=$(curl -X POST -H "Authorization: token ${ACTI_BOT_TOKEN}" -H "Content-Type: application/json" \
|
||||
RESPONSE=$(curl --fail-with-body -X POST -H "Authorization: token ${ACTI_BOT_TOKEN}" -H "Content-Type: application/json" \
|
||||
-d "{\"draft\": false, \"prerelease\": false, \"body\": \"${{ inputs.body }}\", \"tag_name\": \"${{ inputs.version }}\", \"name\": \"${{ inputs.name }}\"}" \
|
||||
${{ gitea.api_url }}/repos/${{ gitea.repository }}/releases)
|
||||
echo "id=$(echo "$RESPONSE" | jq -r .id)" >> "$GITEA_OUTPUT"
|
||||
|
||||
Reference in New Issue
Block a user