Skip to content

Commit

Permalink
Add JDK version as an action input
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta committed Jun 13, 2024
1 parent 7f87ae3 commit 8a24ef2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ inputs:
required: false
default: '9200'

jdk-version:
description: 'The version of the JDK that should be used, e.g "21"'
required: false
default: '11'

runs:
using: "composite"
steps:
Expand All @@ -40,7 +45,7 @@ runs:
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 11
java-version: ${{ inputs.jdk-version }}

# Download OpenSearch
- name: Download OpenSearch for Windows
Expand Down

0 comments on commit 8a24ef2

Please sign in to comment.