fix: restore Create Release step with correct Swagger-compliant JSON and auth header
Release / build-and-release (push) Successful in 1m0s

This commit is contained in:
datadunia
2026-05-08 05:04:54 +07:00
parent 565d7f1a35
commit dfc8d9ed57
+2 -3
View File
@@ -16,7 +16,7 @@ jobs:
run: | run: |
git config --global --remove-section http || true git config --global --remove-section http || true
git config --global --unset-all core.askPass || true git config --global --unset-all core.askPass || true
TOKEN="${{ secrets.TOKEN_BUILD }}" TOKEN="${{ secrets.BUILD_TOKEN }}"
git clone --recurse-submodules \ git clone --recurse-submodules \
-c credential.helper="" \ -c credential.helper="" \
https://token:$TOKEN@git.datadunia.com/devops/wireguard-vpn.git . https://token:$TOKEN@git.datadunia.com/devops/wireguard-vpn.git .
@@ -63,8 +63,7 @@ jobs:
- name: Create Release and upload assets - name: Create Release and upload assets
env: env:
# PINDAHKAN TOKEN KE SINI # PINDAHKAN TOKEN KE SINI
TOKEN: ${{ secrets.TOKEN_BUILD }} TOKEN: ${{ secrets.BUILD_TOKEN }}
run: | run: |
# Sekarang $TOKEN sudah bisa dipakai di Bash # Sekarang $TOKEN sudah bisa dipakai di Bash
echo "--- Diagnostic ---" echo "--- Diagnostic ---"