Skip to content

Ephemeral runners based on windows-core-2022 start but never connect to github due to missing argument on run.cmd #3950

@ardole

Description

@ardole

Base image example windows core 2022 always install the runner as a service.

$action = New-ScheduledTaskAction -WorkingDirectory "$pwd" -Execute "run.cmd"

This fail when enable_jit_config or enable_ephemeral_runners is true, because of missing -Argument "--jitconfig $config"

Without this, runner will never be connected to github.

Context:

  • Github cloud
  • Organization runner
  • Github runner v2.317.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions