fix: ensure github runner service starts on windows
parent
c6c8236152
commit
b9c515d9a1
|
@ -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\ install
|
||||||
call yarn --cwd %UserProfile%\AppData\LocalLow\game-ci\ run gcp-secrets-cli %* --projectPath %cd% --awsStackName game-ci-cli
|
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
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue