+ payload adjustment
This commit is contained in:
+3
-5
@@ -20,9 +20,7 @@ runs:
|
||||
- id: create-release
|
||||
shell: bash
|
||||
run: |
|
||||
RESPONSE=$(curl -X POST \
|
||||
-H "Authorization: token ${ACTI_BOT_TOKEN}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{\"draft\": false, \"prerelease\": false, \"tag_name\": \"${{ inputs.version }}\", \"name\": \"${{ inputs.name }}\"}") \
|
||||
"${{ gitea.api_url }}/repos/${{ gitea.repository }}/releases"
|
||||
RESPONSE=$(curl -X POST -H "Authorization: token ${ACTI_BOT_TOKEN}" -H "Content-Type: application/json" \
|
||||
-d "{\"draft\": false, \"prerelease\": false, \"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