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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user