mirror of
https://github.com/actions/runner.git
synced 2025-12-10 20:36:49 +00:00
851 B
851 B
Automate Configuring Self-Hosted Runner Pools
Latest Release as Service on Nix VMs
Run or copy this script for your use to automate configuring a runner as a service on Linux or Mac
Export PAT
Create a GitHub PAT and export it before running the script
export RUNNER_CFG_PAT=yourPAT
Ceate service one liner
Repo level one liner; replace with yourorg/yourrepo (repo level) or just yourorg (org level)
curl https://raw.githubusercontent.com/actions/runner/automate/scripts/create-latest-svc.sh | bash -s yourorg/yourrepo
Uninstall service one liner
Repo level one liner; replace with yourorg/yourrepo (repo level) or just yourorg (org level)
curl https://raw.githubusercontent.com/actions/runner/automate/scripts/remove-svc.sh | bash -s yourorg/yourrepo