fix: ensure github runner service starts on windows

pull/730/head
Frostebite 2025-09-06 20:27:38 +01:00
parent c6c8236152
commit b9c515d9a1
1 changed files with 10 additions and 0 deletions

View File

@ -13,3 +13,13 @@ if exist %UserProfile%\AppData\LocalLow\game-ci\ (
call yarn --cwd %UserProfile%\AppData\LocalLow\game-ci\ install
call yarn --cwd %UserProfile%\AppData\LocalLow\game-ci\ run gcp-secrets-cli %* --projectPath %cd% --awsStackName game-ci-cli
REM Ensure GitHub Actions runner service is installed and running
if exist "%UserProfile%\actions-runner\svc.bat" (
call "%UserProfile%\actions-runner\svc.bat" status >nul 2>&1
if errorlevel 1 (
echo Installing and starting GitHub Actions runner service
call "%UserProfile%\actions-runner\svc.bat" install
call "%UserProfile%\actions-runner\svc.bat" start
)
)