Skip to content

Commit

Permalink
Added JAVA_HOME (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanya732 authored Jan 28, 2025
2 parents 2b0b2ba + dcbc560 commit 51be7df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/maven-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ runs:
source "/home/runner/.sdkman/bin/sdkman-init.sh"
sdk list java
sdk install java ${{ inputs.java-version }} && sdk default java ${{ inputs.java-version }}
export JAVA_HOME=${SDKMAN_DIR}/candidates/java/current
echo "JAVA_HOME is set to $JAVA_HOME"
- uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # pin@1.1.0

Expand Down

0 comments on commit 51be7df

Please # to comment.