Skip to content

Multiple Self-hosted Github actions runners #26049

Answered by weide-zhou
sgrmgj asked this question in Actions
Discussion options

You must be logged in to vote

Hi @sgrmgj-quotient ,

Currently self hosted runner supports below labels:

  • self-hosted: Default label applied to all self-hosted runners.
  • linux, windows, or macos: Applied depending on operating system type.
  • x86, x64, ARM, or ARM64: Applied depending on architecture type.

For example, you can use below code to choose a macos self-hosted runner.

runs-on: [self-hosted, macos]

If your two runners used different OS/architecture, then they can be specified separately in your workflow.

Github engineering team are going to support custom labels, should be completed by 31 March 2020.

Let’s wait for the feature to be released, then you can use custom label to specify the self-hosted runner in wo…

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment