How to use workflow env variables in job ifs?

后端 未结 0 610
醉话见心
醉话见心 2020-12-04 16:33
env:
  IS_PUSH: github.event_name == \'push\'

jobs:
  ci:
    if: ${{ env.IS_PUSH }}

This returns an error: "Unrecognized named-value: \'env\'

相关标签:
回答
  • 消灭零回复
提交回复
热议问题