Skip to content

Commit

Permalink
Cherry pick PR #3239: Add --ephemeral option to win runner (#3257)
Browse files Browse the repository at this point in the history
Refer to the original PR: #3239

This option needs to be hardcoded into runner start up mechanism as ARC
doesn't have proper Windows support.

b/258687270

---------

Co-authored-by: Igor Sarkisov <[email protected]>
  • Loading branch information
cobalt-github-releaser-bot and isarkis authored May 15, 2024
1 parent 8cf6c74 commit ad20c24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/windows/runner/runner.ps1
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.\actions-runner\config.cmd --unattended --replace --url https://github.com/${env:RUNNER_REPO} --token $env:RUNNER_TOKEN --name $env:RUNNER_NAME --work $env:RUNNER_WORKDIR --labels $env:RUNNER_LABELS;
.\actions-runner\run.cmd;
C:\actions-runner\config.cmd --unattended --replace --url https://github.com/${env:RUNNER_REPO} --token $env:RUNNER_TOKEN --name $env:RUNNER_NAME --work $env:RUNNER_WORKDIR --ephemeral --labels $env:RUNNER_LABELS;
C:\actions-runner\run.cmd;

0 comments on commit ad20c24

Please sign in to comment.