https://www.coachdevops.com/2024/02/h...
Advantages of self-hosted runners:
full control over the environment and tools
Any size machine or configuration
Secure access and networking
Pre-requisites:
Project configured in GitHub
workflow yaml already checked-in GitHub. If you don't have one, click here to create one.
Create a virtual machine with at least 2 GB RAM. we will use EC2 instance in AWS cloud.
Install Maven on runner EC2 instance
How to create self-hosted GitHub Actions Runner?
Go to GitHub Repo - Actions- Runners
Click on self-hosted runners --New Runner
Click on Linux
Perform update
Download installables
Configure the runner
Create a workflow or modify your workflow to include GitHub runner:
Watch video How to configure self-hosted runner in GitHub Actions | Self-hosted build agent in GitHub Actions online without registration, duration hours minute second in high quality. This video was added by user DevOps Coach 26 February 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,070 once and liked it 66 people.