Create display-runer-name.yml #1
This file contains hidden or 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
| name: Display Runner Name | ||
| on: | ||
| workflow_dispatch: | ||
| jobs: | ||
| display_info: | ||
| runs-on: ubuntu-latest # Or your self-hosted runner labels | ||
| steps: | ||
| - name: Show Runner Name | ||
| run: echo "The job is running on runner: $RUNNER_NAME" | ||