Skip to content

Commit

Permalink
env and runner var testing 06
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdermg committed May 27, 2024
1 parent 3d99ddb commit b03e2b8
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/self-host.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
name: Actions Runner Controller Demo
on:
push:
branches:
- main
- dev
workflow_dispatch:
branches:
- main
- dev

jobs:
Explore-GitHub-Actions:
runs-on: ${{ vars.RUNNER }}
environment:
name: ${{ github.ref == 'refs/heads/main' && 'prod' || 'dev' }}
steps:
- run: echo "🎉 This
- name: Debug var RUNNER
run: echo "The value of var.RUNNER is ${{ env.RUNNER }}"
- name: confirm self hosted runners
run: echo "🎉 This job uses runner scale set runners!"

0 comments on commit b03e2b8

Please sign in to comment.