mirror of
https://github.com/actions/setup-java.git
synced 2025-04-19 17:36:45 +00:00
.
This commit is contained in:
parent
dd4b06c113
commit
3f6da1d833
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ if [ -z "$1" ]; then
|
|||
fi
|
||||
|
||||
java_version="$(java -version)"
|
||||
echo "Found java version: $node_version"
|
||||
if [ -z "$(echo $node_version | grep --fixed-strings $1)" ]; then
|
||||
echo "Found java version: $java_version"
|
||||
if [ -z "$(echo $java_version | grep --fixed-strings $1)" ]; then
|
||||
echo "Unexpected version"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue