Difference between revisions of "GitHub self hosted runner"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
# Create a folder | # Create a folder | ||
$ mkdir actions-runner && cd actions-runner# Download the latest runner package | $ mkdir actions-runner && cd actions-runner# Download the latest runner package | ||
− | $ [[curl -o]] actions-runner-osx-x64-2.283.1.tar.gz -L https://github.com/actions/runner/releases/download/v2.283.1/actions-runner- osx-x64-2.283.1.tar.gz# Optional: Validate the hash | + | $ [[curl -o]] actions-runner-osx-x64-2.283.1.tar.gz -L https://github.com/actions/runner/releases/download/v2.283.1/actions-runner-osx-x64-2.283.1.tar.gz# Optional: Validate the hash |
$ echo "c6f04c7c2c0f1706810fa15e5c0cd773310acbfe60dd4cd88459cbefa9a4bb75 actions-runner-osx-x64-2.283.1.tar.gz" | [[shasum]] -a 256 -c# Extract the installer | $ echo "c6f04c7c2c0f1706810fa15e5c0cd773310acbfe60dd4cd88459cbefa9a4bb75 actions-runner-osx-x64-2.283.1.tar.gz" | [[shasum]] -a 256 -c# Extract the installer | ||
$ tar xzf ./actions-runner-osx-x64-2.283.1.tar.gz | $ tar xzf ./actions-runner-osx-x64-2.283.1.tar.gz |
Revision as of 11:30, 7 October 2021
Settings -> Actions -> Runners
macOS
Download
# Create a folder $ mkdir actions-runner && cd actions-runner# Download the latest runner package $ curl -o actions-runner-osx-x64-2.283.1.tar.gz -L https://github.com/actions/runner/releases/download/v2.283.1/actions-runner-osx-x64-2.283.1.tar.gz# Optional: Validate the hash $ echo "c6f04c7c2c0f1706810fa15e5c0cd773310acbfe60dd4cd88459cbefa9a4bb75 actions-runner-osx-x64-2.283.1.tar.gz" | shasum -a 256 -c# Extract the installer $ tar xzf ./actions-runner-osx-x64-2.283.1.tar.gz
Configure
# Create the runner and start the configuration experience $ ./config.sh --url https://github.com/kontist/app --token AVBZJMYCKIQZOCGL6WME7ILBL3S6I# Last step, run it! $ ./run.sh
Using
# Use this YAML in your workflow file for each job runs-on: self-hosted
Related
- https://docs.github.com/en/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service
- GitHub Actions Runner
See also
- GitHub, GitHub Actions, GitHub Actions Runner, Events, CodeQL, GitHub Desktop, GitHub organization, base permissions, GitHub Copilot,
.gitignore
, GitHub Codespaces, GitHub Marketplace, GitHub Apps, GitHub Enterprise Server, GitHub CLI (gh
), Dependabot, GitHub security,.github/
, GitHub code scanning, GitHub Pages, GitHub Packages, GitHub Advanced Security, GitHub Mobile, GitHub Importer, GitHub versions
Advertising: