-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating java version in the maven-publish (#794)
- Loading branch information
Showing
1 changed file
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,11 @@ runs: | |
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Java | ||
shell: bash | ||
run: | | ||
curl -s "https://get.sdkman.io" | bash | ||
source "/home/runner/.sdkman/bin/sdkman-init.sh" | ||
sdk list java | ||
sdk install java ${{ inputs.java-version }} && sdk default java ${{ inputs.java-version }} | ||
- name: Set up Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '11' | ||
|
||
- uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # [email protected] | ||
|
||
|