run syntax #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you don't create a self-hosted runner you will see: | |
# Waiting for a runner to pick up this job... | |
name: Self-hosted Runner Workflow | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
example-job: | |
runs-on: self-hosted | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Run a one-line script | |
run: echo "Hello from a self-hosted runner!" |