Skip to content

Commit

Permalink
Lets Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
pingevt committed Sep 15, 2024
1 parent 035ad5f commit 4868618
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/testing-slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,14 @@ jobs:
run: |
# (echo "MESSAGE_MD_VAR=$(cat message.md)") >> "$GITHUB_ENV"
MARKDOWN_CONTENTS=$(cat message.md)
MARKDOWN_CONTENTS=${MARKDOWN_CONTENTS//$'\r\n'/}
echo "MARKDOWN_CONTENTS<<EOF" >> $GITHUB_ENV
echo "$MARKDOWN_CONTENTS" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
MARKDOWN_CONTENTS2=${MARKDOWN_CONTENTS//$'\r\n'/}
echo "MARKDOWN_CONTENTS2=$MARKDOWN_CONTENTS2" >> $GITHUB_ENV
# Debugger
- uses: hmarr/debug-action@v2

- uses: slackapi/[email protected]
with:
Expand All @@ -260,7 +264,7 @@ jobs:
"type": "section",
"text": {
"type": "mrkdwn",
"text": "${{ env.MARKDOWN_CONTENTS }}"
"text": "lol: ${{ env.MARKDOWN_CONTENTS }}"
},
"accessory": {
"type": "button",
Expand Down

0 comments on commit 4868618

Please sign in to comment.