You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opening a new issue in the hope it will be addressed or seen by someone who can help:
this is what im doing (shortened...):
- name: Get log between tagsid: release-logshell: bashrun: | ... gitcommits=$(git log previousTag..HEAD --pretty=format:"%h %s - %an %B %n" -- ${{ inputs.logRoot }}/) echo "### Git commits since Last Tag 📒" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY while IFS= read -r line; do echo $line >> $GITHUB_STEP_SUMMARY done <<< "$gitcommits" echo "RELEASE-LOG=${gitcommits//$'\n'/'%0A'}" >> "$GITHUB_OUTPUT"
- name: Slack notification for successful deploymentif: ${{ always() && steps.s3-deploy.outcome == 'success' }}uses: rtCamp/action-slack-notify@v2.2.0env:
...SLACK_MESSAGE: "Log: ${{ steps.release-log.outputs.RELEASE-LOG }}"
Im using the "trick" of replacing the new-line char (//$'\n'/'%0A') but the message I get in slack is one big blob with the lines separated by: "%0A %0A%0A" characters.
So looks like the replace works but either something is wrong in the replace op or Slack ignores the new chars...
The text was updated successfully, but these errors were encountered:
I've seen and tried the suggestions in #106
Opening a new issue in the hope it will be addressed or seen by someone who can help:
this is what im doing (shortened...):
Im using the "trick" of replacing the new-line char (//$'\n'/'%0A') but the message I get in slack is one big blob with the lines separated by: "%0A %0A%0A" characters.
So looks like the replace works but either something is wrong in the replace op or Slack ignores the new chars...
The text was updated successfully, but these errors were encountered: