Merge pull request #31 from yasuhiroki/dependabot/npm_and_yarn/cross-… #9
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
on: push | |
name: environemnt variables | |
env: | |
NEW_ENV: value | |
jobs: | |
build: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: env | |
run: echo ${{ env }} | |
- name: custom environment variable | |
run: echo env.NEW_ENV = ${{ env.NEW_ENV }} \$NEW_ENV = $NEW_ENV | |
# Unrecognized ERROR | |
# - name: custom environment variable | |
# run: echo env[NEW_ENV] = ${{ env[NEW_ENV] }} | |
# run: echo env[PATH] = ${{ env[PATH] }} | |