Skip to content

Commit 25631be

Browse files
fix: use correct syntax for annotations
1 parent e37b4cb commit 25631be

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,11 @@ runs:
180180
testsFailed=1
181181
fi
182182
else
183-
echo "::warning title=${projectName} contains no test cases set as publishable. Testing skipped."
183+
echo "::warning title=${projectName} contains no test cases set as publishable.:: Project contains no test cases set as publishable. Testing skipped."
184184
testResults+="\n- :warning: **${projectName} contains no test cases set as publishable. Testing skipped.**\n"
185185
fi
186186
else
187-
echo "::warning title=${projectName} contains no test cases. Testing skipped."
187+
echo "::warning title=${projectName} contains no test cases.:: Testing skipped."
188188
testResults+="\n- :warning: **${projectName} contains no test cases. Testing skipped.**\n"
189189
fi
190190
echo "::endgroup::"
@@ -193,14 +193,14 @@ runs:
193193
194194
# Output that no tests were found
195195
if [ "$repositoryContainsTests" -eq 0 ]; then
196-
echo "::warning title=No publishable UiPath test cases were found in this repository. Testing has been skipped."
196+
echo "::warning title=No publishable UiPath test cases found::Testing has been skipped."
197197
echo "containsPublishableTestCases=false" >> $GITHUB_OUTPUT
198198
fi
199199
200200
echo -e "testResults<<EOF\n$testResults\nEOF" >> $GITHUB_OUTPUT
201201
202202
if [ "$testsFailed" -ne 0 ]; then
203-
echo "::error title=Tests failed"
203+
echo "::error title=Tests failed::One or more test runs failed."
204204
exit 1
205205
fi
206206

0 commit comments

Comments
 (0)