Github Action Runners

Add new self-hosted runner ·

Adding a self-hosted runner requires that you download, configure, and execute the GitHub Actions Runner. By downloading and configuring the GitHub Actions Runner, you agree to the GitHub Terms of Service or GitHub Corporate Terms of Service, as applicable.

Runner image

Architecture

Download


# Create a folder
$
mkdir actions-runner && cd actions-runner

# Download the latest runner package
$
curl -o actions-runner-linux-x64-2.309.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.309.0/actions-runner-linux-x64-2.309.0.tar.gz

 

# Optional: Validate the hash
$
echo “2974243bab2a282349ac833475d241d5273605d3628f0685bd07fb5530f9bb1a actions-runner-linux-x64-2.309.0.tar.gz” | shasum -a 256 -c

# Extract the installer
$
tar xzf ./actions-runner-linux-x64-2.309.0.tar.gz

 

Configure


# Create the runner and start the configuration experience
$
./config.sh --url https://github.com/Portfolio-WP --token ABRH2VDPXHUIFLFCCFXU
# Last step, run it!
$
./run.sh

Using your self-hosted runner


# Use this YAML in your workflow file for each job
runs-on: self-hosted

For additional details about configuring, running, or shutting down the runner, please check out our product docs.

Was this article helpful?

Related Articles

Leave A Comment?