Skip to content

Commit

Permalink
Update setup-java for snapshot workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta committed May 22, 2024
1 parent fddb60f commit 19c71ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/snapshotrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
JAVA_VERSION: '21'
JAVA_DISTRO: 'oracle.com'
JAVA_DISTRO: 'oracle'
MAVEN_HTTP_ARGS: '-Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -Dmaven.wagon.http.retryHandler.count=3'

concurrency:
Expand All @@ -26,10 +26,10 @@ jobs:
with:
fetch-depth: '0'
- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: oracle-actions/setup-java@v1.3.2
uses: actions/setup-java@v4.1.0
with:
website: ${{ env.JAVA_DISTRO }}
release: ${{ env.JAVA_RELEASE }}
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_RELEASE }}
cache: maven
- name: Build and deploy
env:
Expand Down

0 comments on commit 19c71ac

Please sign in to comment.