You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix referring env context from env: at step level caused an error. env: at toplevel and job level cannot refer env context, but env: at step level can. (#158)
on: pushenv:
# ERROR: 'env:' at toplevel cannot refer 'env' contextERROR1: ${{ env.PATH }}jobs:
my_job:
runs-on: ubuntu-latestenv:
# ERROR: 'env:' at job level cannot refer 'env' contextERROR2: ${{ env.PATH }}steps:
- run: echo "$THIS_IS_OK"env:
# OK: 'env:' at step level CAN refer 'env' contextTHIS_IS_OK: ${{ env.PATH }}