Skip to content

Commit

Permalink
AAE-16642 Update java version used in maven-release (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni007 authored Sep 19, 2023
1 parent 422a5fd commit 62f3765
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .github/actions/maven-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ inputs:
description: "Path to the settings.xml file to be used for the release"
required: false
default: ${{ github.workspace }}/maven-config/settings.xml
java-version:
description: the desired Java version
required: false
default: "11"
java-distribution:
description: the desired Java distribution
required: false
default: "temurin"

runs:
using: composite
Expand Down Expand Up @@ -73,12 +81,12 @@ runs:
tag: ${{ env.RELEASE_VERSION }}
repository-directory: ${{ env.REPO_DIR }}

- name: Set up JDK 11
- name: Set up JDK
if: steps.check-tag.outputs.exists == 'false'
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
java-version: ${{ inputs.java-version }}
distribution: ${{ inputs.java-distribution }}
cache: 'maven'

- name: Configure Maven settings
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.3.0
v3.3.1

0 comments on commit 62f3765

Please sign in to comment.