Release workflow: use automatic GITHUB_TOKEN
Build and Release / build (push) Failing after 23s

This commit is contained in:
dasemu committed 2026-11-26 00:09:13 +01:00
1 parent 205e2ad8a2
commit 73f97d209f
1 file changed
+2 -2
+2 -2
View File
@@ -39,10 +39,10 @@ jobs:
- name: Create release and upload assets
env:
TOKEN: ${{ secrets.RELEASE_TOKEN }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eu
[ -n "${TOKEN}" ] || { echo "ERROR: secret RELEASE_TOKEN is empty or not defined"; exit 1; }
[ -n "${TOKEN}" ] || { echo "ERROR: no token available (secrets.GITHUB_TOKEN is empty)"; exit 1; }
API="${GITHUB_SERVER_URL}/api/v1/repos/${GITHUB_REPOSITORY}"
if [ "${GITHUB_REF_TYPE:-}" = "tag" ]; then
TAG="${GITHUB_REF_NAME}"