env and runner var testing 09 #13
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
name: Actions Runner Controller Demo | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
workflow_dispatch: | |
branches: | |
- main | |
- dev | |
jobs: | |
Explore-GitHub-Actions-Prod: | |
if: github.ref == 'refs/heads/main' | |
runs-on: arc-runner-set-01 | |
steps: | |
- name: Debug var RUNNER | |
run: echo "The value of var.RUNNER is ${{ secrets.RUNNER_PROD }}" | |
- name: confirm self hosted runners | |
run: echo "🎉 This job uses runner scale set runners!" | |
Explore-GitHub-Actions-Dev: | |
if: github.ref == 'refs/heads/dev' | |
runs-on: arc-runner-set-02 | |
steps: | |
- name: Debug var RUNNER | |
run: echo "The value of var.RUNNER is ${{ secrets.RUNNER_DEV }}" | |
- name: confirm self hosted runners | |
run: echo "🎉 This job uses runner scale set runners!" |