Skip to content

Commit

Permalink
Consistently use JAVA_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta committed Sep 27, 2023
1 parent 8507d36 commit 4d42f69
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_RELEASE }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Copyright
run: etc/scripts/copyright.sh
Expand All @@ -45,7 +45,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_RELEASE }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Release
env:
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ name: "Validate"
on: [pull_request, push]

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

Expand All @@ -28,7 +28,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_RELEASE }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Copyright
run: etc/scripts/copyright.sh
Expand All @@ -41,7 +41,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_RELEASE }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Checkstyle
run: etc/scripts/checkstyle.sh
Expand All @@ -54,7 +54,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_RELEASE }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Spotbugs
run: etc/scripts/spotbugs.sh
Expand All @@ -67,7 +67,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_RELEASE }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Docs
run: etc/scripts/site.sh
Expand All @@ -83,7 +83,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_RELEASE }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Maven build
run: etc/scripts/github-build.sh
Expand All @@ -99,7 +99,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_RELEASE }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Maven build
run: |
Expand All @@ -119,7 +119,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_RELEASE }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Maven build
run: etc/scripts/mp-tck.sh
Expand All @@ -135,7 +135,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_RELEASE }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Test archetypes
run: etc/scripts/test-archetypes.sh
Expand All @@ -151,7 +151,7 @@ jobs:
uses: actions/[email protected]
with:
distribution: ${{ env.JAVA_DISTRO }}
java-version: ${{ env.JAVA_RELEASE }}
java-version: ${{ env.JAVA_VERSION }}
cache: maven
- name: Build Helidon
run: etc/scripts/github-compile.sh
Expand Down

0 comments on commit 4d42f69

Please sign in to comment.