Skip to content

Commit

Permalink
Improve GitHub Action failure reporting annotation (#821)
Browse files Browse the repository at this point in the history
[GitHub parses console output for special
phrases](https://stackoverflow.com/a/71091060) to better format it's
output. By doing this when we report errors, we can more clearly
communicate errors:

Compare
[before](https://github.com/JackPGreen/rel-scripts/actions/runs/11711717220):

![image](https://github.com/user-attachments/assets/7191f6ed-6b94-4575-a23b-96dc65b7043d)

Against
[after](https://github.com/JackPGreen/rel-scripts/actions/runs/11711863956):

![image](https://github.com/user-attachments/assets/1276308c-4c9f-4f4c-9fa0-2df666b17685)
  • Loading branch information
JackPGreen authored Nov 11, 2024
1 parent 7a6ba59 commit 2b55a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/abstract-simple-smoke-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ function install_clc() {

# Prints the given message to stderr
function echoerr() {
echo "ERROR - $*" 1>&2;
echo "::error::ERROR - $*" 1>&2;
}

0 comments on commit 2b55a2e

Please sign in to comment.