From the course: Advanced GitHub Actions
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Solution: Configure a self-hosted runner with a label - GitHub Tutorial
From the course: Advanced GitHub Actions
Solution: Configure a self-hosted runner with a label
- In this challenge, we're being asked to configure a self-hosted runner with a label, and I'm starting in a private repo. I'm actually reusing the repo that I've used for previous lessons. And I've added the exercise files for the challenge. Among the exercise files that we're given is a workflow for project-alpha. So let's take a look at that. The specific thing about this workflow is that the runs on calls for a very specific label, the project-alpha label. So we need to create a runner that matches this label. And this could be because the runner project labeled project-alpha has some very specific software that this particular job needs, but because this is just a test to get the runner installed and set up and make sure our workflow works, all we're going to do is just check out the code and make sure that our runner and our workflow can connect and see each other properly. So let's start by going to settings…
Contents
-
-
-
-
-
-
(Locked)
Self-hosted runners introduction50s
-
(Locked)
GitHub-hosted runners vs. self-hosted runners5m 27s
-
(Locked)
Configure a self-hosted runner4m 33s
-
(Locked)
Use a self-hosted runner in a workflow1m 43s
-
(Locked)
Challenge: Configure a self-hosted runner with a label1m 54s
-
(Locked)
Solution: Configure a self-hosted runner with a label6m
-
(Locked)
-
-