Merge hotfix/fix-1 into main #24
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: Learn about env vars | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
duno: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set vars to env | |
env: | |
VARS_JSON: ${{ toJSON(vars) }} | |
run: | | |
echo "$VARS_JSON" | jq -r 'keys[] as $k | "\($k)=\(.[$k])"' >> $GITHUB_ENV | |
- name: Check env vars | |
run: | | |
echo "VAR1=$VAR1" | |
echo "VAR2=$VAR2" |