fix: use printf for JSON body and Authorization header for Gitea API
Release / build-and-release (push) Failing after 53s

This commit is contained in:
datadunia
2026-05-08 04:30:35 +07:00
parent 5eec7651da
commit b9fbe1430f
+2 -1
View File
@@ -61,8 +61,9 @@ jobs:
ENDJSON ENDJSON
- name: Create Release and upload assets - name: Create Release and upload assets
env:
TOKEN: ${{ secrets.TOKEN_BUILD }} # <--- Tambahkan ini
run: | run: |
TOKEN="${{ secrets.TOKEN_BUILD }}"
if [ -z "$TOKEN" ]; then if [ -z "$TOKEN" ]; then
echo "❌ ERROR: Secret TOKEN_BUILD tidak terbaca oleh runner!" echo "❌ ERROR: Secret TOKEN_BUILD tidak terbaca oleh runner!"
exit 1 exit 1