Skip to content

Commit

Permalink
Remove repo name from error
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Oct 4, 2022
1 parent 9f3710a commit b8a856a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ for tool in "${tools[@]}"; do
if [[ "${tool}" == *"@"* ]]; then
version="${tool#*@}"
if [[ ! "${version}" =~ ^([1-9][0-9]*(\.[0-9]+(\.[0-9]+)?)?|0\.[1-9][0-9]*(\.[0-9]+)?|^0\.0\.[0-9]+)(-[0-9A-Za-z\.-]+)?(\+[0-9A-Za-z\.-]+)?$|^latest$ ]]; then
bail "takie-e/install-action does not support semver operators"
bail "install-action does not support semver operators"
fi
else
version="latest"
Expand Down

0 comments on commit b8a856a

Please sign in to comment.