Skip to content

Commit e638d27

Browse files
committed
Fix JDK version checking workflow.
- Adjust regular expression to take into account the new lowest JRE version Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
1 parent ab29322 commit e638d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/check_and_update_jdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import json
66
import ast
77

8-
readme_ver_pattern = r'(?:(?<=Supports code from Java 1\.5 to Java )(\d+)|(?<=JavaSE-)~|(?<=path/to/jdk-)~)' # After resolving current_jdk, we will replace ~
8+
readme_ver_pattern = r'(?:(?<=Supports code from Java 1\.8 to Java )(\d+)|(?<=JavaSE-)~|(?<=path/to/jdk-)~)' # After resolving current_jdk, we will replace ~
99

1010
# Query the Oracle website for the latest JDK version
1111
response = requests.get('http://javadl-esd-secure.oracle.com/update/baseline.version')

0 commit comments

Comments
 (0)