Launcher: use HORIZON_GITHUB_TOKEN for GitHub's API when given; CI passes its own

Shared CI runners hit GitHub's anonymous rate limit in the smoke test (launcher 0.1.2's
macOS build failed twice on it). Players never set the variable, so nothing changes for them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-13 20:46:36 +02:00
parent 3738c876bc
commit 4ecb4c85e7
2 changed files with 9 additions and 1 deletions
+1
View File
@@ -59,6 +59,7 @@ jobs:
- name: Smoke test
env:
HORIZON_LAUNCHER_NO_SELF_UPDATE: '1'
HORIZON_GITHUB_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
export HORIZON_LAUNCHER_HOME="${RUNNER_TEMP//\\//}/horizon-launcher-smoke"