Skip to content

Commit 2f0ad8f

Browse files
authoredJun 13, 2024··
Add JDK version as an action input (#6)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
1 parent 7f87ae3 commit 2f0ad8f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎action.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ inputs:
2727
required: false
2828
default: '9200'
2929

30+
jdk-version:
31+
description: 'The version of the JDK that should be used, e.g "21"'
32+
required: false
33+
default: '11'
34+
3035
runs:
3136
using: "composite"
3237
steps:
@@ -40,7 +45,7 @@ runs:
4045
- name: Set up JDK
4146
uses: actions/setup-java@v1
4247
with:
43-
java-version: 11
48+
java-version: ${{ inputs.jdk-version }}
4449

4550
# Download OpenSearch
4651
- name: Download OpenSearch for Windows

0 commit comments

Comments
 (0)
Please sign in to comment.