Skip to content

Commit

Permalink
Update env.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pgreze authored May 17, 2023
1 parent b249df3 commit be1f121
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ jobs:
env:
runs-on: ubuntu-latest
steps:
- run: env
- name: Print all environment variables
run: env

- run: echo '${{ toJSON(github) }}'
- name: Print all github context values
run: echo '${{ toJSON(github) }}' | jq -r 'to_entries | map( select(.value | (type == "string" or type == "number"))) | map(.key as $k | .value | capture("(?<v>.*)") | "\($k | gsub("[\".]";"_"))=\(.v)") | .[] | "github." + .'

0 comments on commit be1f121

Please sign in to comment.