fix: do not preserve spaces in the token (#80)

If a token has trailing whitespace by accident, they must not be preserved. Do not quote the value so that they are trimmed by shell evaluation.

Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/80
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
Earl Warren 2025-08-05 14:01:06 +00:00 committed by earl-warren
parent c263d31a62
commit 25f6ec3fc2
No known key found for this signature in database
GPG key ID: F128CBE6AB3A7201

View file

@ -88,7 +88,7 @@ runs:
export HIDE_ARCHIVE_LINK="${{ inputs.hide-archive-link }}"
export TOKEN="${{ inputs.token }}"
export TOKEN=${{ inputs.token }}
export RELEASE_DIR="${{ inputs.release-dir }}"