mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 01:46:46 +00:00
Add fix for major coretto version and ea. (#1)
* Fix typo in README.md (#419)
`diractory` -> `directory`
* Revert "Add support for Oracle JDK (#401)" (#421)
This reverts commit 6cdf39a6b6
.
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
* adding check for prerelease
* add debug lines
* add minor fix
* expand e2e tests with corretto
Co-authored-by: Ashley <73482956+ascopes@users.noreply.github.com>
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
This commit is contained in:
parent
10d2aa6bfd
commit
a7975de1a7
12 changed files with 7373 additions and 7726 deletions
|
@ -24,7 +24,7 @@ fi
|
|||
ACTUAL_JAVA_VERSION="$(java -version 2>&1)"
|
||||
echo "Found java version: $ACTUAL_JAVA_VERSION"
|
||||
|
||||
GREP_RESULT=$(echo $ACTUAL_JAVA_VERSION | grep -E "^(openjdk|java) version \"$EXPECTED_JAVA_VERSION")
|
||||
GREP_RESULT=$(echo $ACTUAL_JAVA_VERSION | grep "^openjdk version \"$EXPECTED_JAVA_VERSION")
|
||||
if [ -z "$GREP_RESULT" ]; then
|
||||
echo "::error::Unexpected version"
|
||||
echo "Expected version: $EXPECTED_JAVA_VERSION"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue