Error ERRO[0002] Unable to interpolate string 'echo ${{ needs.pre.output1 }}' - [ReferenceError: 'needs' is not defined] when try to following workflow:
jobs:
pre:
runs-on: ubuntu-latest
steps:
- run: echo '::set-env name=VAR1::value1'
outputs:
output1: ${{ env.VAR1 }}
job1:
runs-on: ubuntu-latest
needs: [pre]
steps:
- run: echo ${{ needs.pre.outputs.output1 }}
This syntax is working in workflow ran by Github Actions, as we do use it in our project's CI.
+1
any workaround for this?
This feature would be really helpful
Issue is stale and will be closed in 7 days unless there is new activity
Most helpful comment
+1