env and runner var testing 04 #7
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: | ||
- dev | ||
- main | ||
workflow_dispatch: | ||
branches: | ||
- dev | ||
- main | ||
env: | ||
RUNNER: ${{ vars.RUNNER }} | ||
jobs: | ||
Explore-GitHub-Actions: | ||
runs-on: ${{ env.RUNNER }} | ||
Check failure on line 17 in .github/workflows/self-host.yaml GitHub Actions / Actions Runner Controller DemoInvalid workflow file
|
||
environment: | ||
name: ${{ github.ref == 'refs/heads/main' && 'prod' || 'dev' }} | ||
steps: | ||
- run: echo "🎉 This job uses runner scale set runners!" |