fix: use single quotes for JSON in curl
Check Source / check (push) Successful in 4s
Auto Release / build (push) Successful in 2m4s
Simple Test / test (push) Successful in 1s
Test Env / test (push) Successful in 2s

This commit is contained in:
test
2026-09-27 13:58:06 +08:00
parent 6260ee11f9
commit 720757463b
+1 -1
View File
@@ -80,7 +80,7 @@ jobs:
-H "Authorization: token ${RUNNER_TOKEN}" \
-H "Content-Type: application/json" \
"${BASE}/releases" \
-d "{"tag_name":"${TAG}","name":"${TAG}","body":"Auto release by Gitea Actions","draft":false,"prerelease":false}"
-d '{"tag_name":"${TAG}","name":"${TAG}","body":"Auto release by Gitea Actions","draft":false,"prerelease":false}'
echo "=== Uploading artifact ==="
JAR=$(ls target/*.jar | head -1)