Skip to content

Commit

Permalink
Better echo messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jaisnan committed Sep 20, 2023
1 parent 3de9b2f commit bbe8513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
expected_version='0.33.0'
if [[ "$installed_version" == "$expected_version" ]]; then
echo "The installed version matches the expected version."
echo "The installed version ($installed_version) matches the expected version ($expected_version)."
else
echo "::error::The installed version ($installed_version) does not match the expected version ($expected_version)."
exit 1
Expand All @@ -61,7 +61,7 @@ jobs:
expected_version=$(cargo search kani-verifier | grep -m 1 "^kani-verifier " | awk '{print $3}')
if [[ "$installed_version" == "$expected_version" ]]; then
echo "The installed version matches the latest version."
echo "The installed version ($installed_version) matches the latest version. ($expected_version)"
else
echo "::error::The installed version ($installed_version) does not match the latest version ($expected_version)."
exit 1
Expand Down

0 comments on commit bbe8513

Please sign in to comment.