Skip to content

Commit

Permalink
Fix path and print Java's version information
Browse files Browse the repository at this point in the history
  • Loading branch information
sormuras committed Feb 1, 2024
1 parent 8e70b67 commit 9f275b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ runs:
run: |
JAVA=$JAVA_HOME_17_X64/bin/java
if [ ! -d "$JAVA_HOME_17_X64" ]; then
JAVA=$JAVA_HOME_17_ARM64/bin/java
JAVA=$JAVA_HOME_17_arm64/bin/java
fi
$JAVA --version
DOWNLOAD=$GITHUB_ACTION_PATH/src/Download.java
if [ ! -z "${{ inputs.uri }}" ]; then
$JAVA \
Expand Down

0 comments on commit 9f275b9

Please sign in to comment.