Skip to content

Commit

Permalink
Update introduction.
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgenVatle committed Jan 30, 2023
1 parent f9f84dd commit 658ea35
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
# Markdown Template Action
> Quickly build inline markdown step summaries for your workflows.
> - Supports environment variable injection
> ```yaml
> - Supports environment variable injection
> ````yaml
> template: |
> # Tests are failing!
> > Go blame $GITHUB_ACTOR who pushed to $GITHUB_BASE_REF
> ```
> - A great alternative to the following templating workflow
> > Go blame $GITHUB_ACTOR who pushed to $GITHUB_BASE_REF
>
> ## Test Report
> ```
> $TEST_SUMMARY_RESULTS
> ```
> ````
> - A great alternative to the following templating workflow; 👎
> ````bash
> echo "# Tests are failing" >> $GITHUB_STEP_SUMMARY
> echo '```' >> $GITHUB_STEP_SUMMARY
> echo "$TEST_SUMMARY_RESULTS" >> $GITHUB_STEP_SUMMARY
> echo '```' >> $GITHUB_STEP_SUMMARY
> echo "# Tests are failing" >> $GITHUB_STEP_SUMMARY
> echo "> Go blame $GITHUB_ACTOR who pushed to $GITHUB_BASE_REF" >> $GITHUB_STEP_SUMMARY
> echo "" >> $GITHUB_STEP_SUMMARY
> echo '```' >> $GITHUB_STEP_SUMMARY
> echo "$TEST_SUMMARY_RESULTS" >> $GITHUB_STEP_SUMMARY
> echo '```' >> $GITHUB_STEP_SUMMARY
> ````
## Using the action
Expand Down

0 comments on commit 658ea35

Please sign in to comment.