fix: use printf for JSON body and Authorization header for Gitea API
Release / build-and-release (push) Failing after 53s
Release / build-and-release (push) Failing after 53s
This commit is contained in:
@@ -66,6 +66,12 @@ jobs:
|
||||
MY_TOKEN: ${{ secrets.TOKEN_BUILD }}
|
||||
run: |
|
||||
TOKEN="$MY_TOKEN"
|
||||
if [ -z "$MY_TOKEN" ]; then
|
||||
echo "❌ ERROR: Secret TOKEN_BUILD tidak terbaca oleh runner!"
|
||||
exit 1
|
||||
else
|
||||
echo "✅ Secret terbaca (panjang karakter: ${#MY_TOKEN})"
|
||||
fi
|
||||
# Gunakan variabel bawaan Gitea Actions untuk keandalan
|
||||
REPO="${{ gitea.repository }}"
|
||||
TAG="${{ gitea.ref_name }}"
|
||||
|
||||
Reference in New Issue
Block a user