Skip to content

Commit

Permalink
test setting env var with job id
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemccabe committed Sep 8, 2023
1 parent 3fd96f4 commit b66f0e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/subset_list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,12 @@ jobs:
runs-on: ubuntu-latest
needs: [check]
if: always() && (needs.check.outputs.no_skip == 'true' || contains(fromJSON(needs.check.outputs.run_list), 'four'))
env:
JOB_ID: ${{ github.job }}
steps:
- name: Run
run: echo ran ${{ github.job }}!
- run: echo job ID is $JOB_ID

five:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b66f0e1

Please sign in to comment.