In the documentation and here it says that the output published is boolean type, whereas here it looks like that it is a string instead.
This can cause the a workflow with if condition to always fail:
deploy-production:
uses: ./.github/workflows/deploy.yml
needs:
- publish
if: needs.publish.outputs.published
Given that its a string, the last line should be be:
if: needs.publish.outputs.published == 'true'
In the documentation and here it says that the output
publishedis boolean type, whereas here it looks like that it is a string instead.This can cause the a workflow with
ifcondition to always fail:Given that its a string, the last line should be be: