Skip to content

Commit e11ce3b

Browse files
committed
fix github action
1 parent f132a3a commit e11ce3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/extract-jdk-version/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ runs:
1919
shell: bash
2020
run: |
2121
if [[ "${{ inputs.version-file }}" == *"pom.xml" ]]; then
22-
VERSION=$(grep -m 1 "<java.version>" "${{ inputs.version-file }}" | sed 's/.*<version>\(.*\)<\/version>.*/\1/' | tr -d '\n\r' | xargs)
22+
VERSION=$(grep -m 1 "<java.version>" "${{ inputs.version-file }}" | sed 's/.*<java.version>\(.*\)<\/java.version>.*/\1/' | tr -d '\n\r' | xargs)
2323
else
2424
# Use VERSION file
2525
VERSION=$(cat "${{ inputs.version-file }}" | tr -d '\n\r' | xargs)

0 commit comments

Comments
 (0)