LedgerHQ/actions

Typo in Slack release action preventing it to work

Closed this issue · 0 comments

Hello,

In

SLACK_CUSTOM_PAYLOAD: ${{ steps.blocks.output.json }}

... output should be outputs. I believe this is why I got an empty SLACK_CUSTOM_PAYLOAD in a release workflow, https://github.com/LedgerHQ/dnswatcher/actions/runs/8357761357/job/22879739075

There could also be an issue with $JSON in the build step... Would it be possible to add echo "$JSON" at the end, to display this variable in the GitHub Actions logs? i.e. right after:

# Only way to return multiline output
echo "json<<JSON" >> $GITHUB_OUTPUT
echo "$JSON" >> $GITHUB_OUTPUT
echo "JSON" >> $GITHUB_OUTPUT