Reusable workflow: env context not available in jobs.<job_id>.with

When using reusable workflow:

jobs:
  job_id:
    uses: reusable-workflow
    with:
      input: ${{ env.INPUT }}

Receive following error Unrecognized named-value: 'env'

Hi @el7cosmos, I’m the product manager for resuable workflows. You’ve found a bug, it should work. I’ve filed an issue internally for the team to take a look. Thanks!

2 Likes