Skip to content

runner configuration without prompt #26893

Answered by BrightRan
moutonjeremy asked this question in Actions
Discussion options

You must be logged in to vote

You can try the following command lines, when you install an self-hosted runner, enter the correct values of the parameters into the command lines.

And then just execute the command lines once, It will automatically complete to download package, extract package, and install runner according to the given parameters.

On Windows:

Invoke-WebRequest -Uri https://githubassets.azureedge.net/runners/2.161.0/actions-runner-win-x64-2.161.0.zip -OutFile actions-runner-win-x64-2.161.0.zip; Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD/actions-runner-win-x64-2.161.0.zip", "$PWD"); ./config.cmd --url <repo_url> --token <PAT> --agent …

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@my-wrm
Comment options

Comment options

You must be logged in to vote
1 reply
@npalm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants