ci: prefer github token for release asset upload
All checks were successful
Android build / build (push) Successful in 9m6s
Android build / build (release) Successful in 11m31s

This commit is contained in:
Hermes
2026-08-31 17:52:41 -05:00
parent df07409e48
commit b5fea9e010

View File

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