We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c9064c + 1de7321 commit b3a882cCopy full SHA for b3a882c
.github/actions/prepare-gradle-build/action.yml
@@ -5,9 +5,13 @@ inputs:
5
required: false
6
default: '17'
7
description: 'The Java version to use for the build'
8
+ java-distribution:
9
+ required: false
10
+ default: 'liberica'
11
+ description: 'The Java distribution to use for the build'
12
java-toolchain:
13
- default: false
14
+ default: 'false'
15
description: 'Whether a Java toolchain should be used'
16
develocity-access-key:
17
@@ -23,7 +27,7 @@ runs:
23
27
- name: Set Up Java
24
28
uses: actions/setup-java@v4
25
29
with:
26
- distribution: 'liberica'
30
+ distribution: ${{ inputs.java-distribution }}
31
java-version: |
32
${{ inputs.java-version }}
33
${{ inputs.java-toolchain == 'true' && '17' || '' }}
0 commit comments