Skip to content

Commit

Permalink
fix: Remove ANSI escape sequences in Build summary report
Browse files Browse the repository at this point in the history
fix: Fix formatting issue in run-setup-successful.yml

The commit fixes a formatting issue in the `run-setup-successful.yml` file. The incorrect backticks were causing an error, so they have been replaced with correct ones.

build: Update run-setup-successful.yml to include escaped command output

The commit updates the `run-setup-successful.yml` file by modifying the command output to be properly escaped. This ensures that special characters are handled correctly when generating the step summary.

co-authored-by: Fydar <[email protected]>
signed-off-by: Sakura Akeno Isayeki <[email protected]>
  • Loading branch information
SakuraIsayeki and Fydar committed Aug 11, 2023
1 parent a1ac1b0 commit 20a6569
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/run-setup-successful.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Setup MoltenObsidian CLI (Should be: Successful)'
name: 'Setup MoltenObsidian CLI (Should be: Successful)'
on:
- push
- workflow_dispatch
Expand Down Expand Up @@ -37,6 +37,6 @@ jobs:
echo "Installed Version: \`$(moltenobsidian --version)\`" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "### Output Help:" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`\" >> $GITHUB_STEP_SUMMARY
echo $(moltenobsidian --help) >> $GITHUB_STEP_SUMMARY
echo "\`\`\`\" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
echo "$(moltenobsidian --help | sed 's/\x1B[@A-Z\\\]^_]\|\x1B\[[0-9:;<=>?]*[-!"#$%&'"'"'()*+,.\/]*[][\\@A-Z^_`a-z{|}~]//g')" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY

0 comments on commit 20a6569

Please sign in to comment.