Skip to content

Commit

Permalink
use cached jdk for maven publish
Browse files Browse the repository at this point in the history
  • Loading branch information
cliserkad committed Jan 14, 2024
1 parent e74cb99 commit 56b1ab0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ jobs:
- name: Set up Java 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
# this distribution is cached by github actions
distribution: 'temurin'
# jdk version to use, specified in pom.xml
java-version: '21'
# use the github actions cached jdk if available.
check-latest: false
- name: mvn deploy
run: mvn -B deploy --no-transfer-progress
Expand Down

0 comments on commit 56b1ab0

Please sign in to comment.