ci: prefer github token for release asset upload
All checks were successful
Android build / build (push) Successful in 7m8s
Android build / build (release) Successful in 8m28s

This commit is contained in:
Hermes
2026-08-31 18:22:00 -05:00
parent 61b8c3d18f
commit 0ae7ac86d9

View File

@@ -165,7 +165,7 @@ jobs:
shell: bash
run: |
set -euxo pipefail
token="${GITEA_TOKEN:-${GITHUB_TOKEN:-}}"
token="${GITHUB_TOKEN:-${GITEA_TOKEN:-}}"
if [ -z "$token" ]; then
echo "::error::No release upload token is available from secrets.GITEA_TOKEN or github.token"
exit 1