Skip to content

Commit

Permalink
change output msg
Browse files Browse the repository at this point in the history
Signed-off-by: jparisu <[email protected]>
  • Loading branch information
jparisu committed May 11, 2023
1 parent 3923a64 commit 8d7c0ad
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ubuntu/check_version_update/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ runs:
shell: bash
run: |
if [[ "${{ steps.git-diff.outputs.have-changes }}" == 'false' ]]; then
echo "Version file ${{ inputs.version-file-path }} has not been updated."
if [[ "${{ steps.git-diff.outputs.have-changes }}" != "true" ]]; then
echo "Version file ${{ inputs.version-file-path }} has not been updated"
echo "T.T"
exit 1
else
echo "Version file Updated. HURRAY!"
echo "Version file ${{ inputs.version-file-path }} updated."
echo "HURRAY! ^.^"
fi

0 comments on commit 8d7c0ad

Please sign in to comment.