File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ inputs:
55 required : false
66 default : ' 17'
77 description : ' The Java version to compile and test with'
8- java-distribution :
8+ java-early-access :
99 required : false
10- default : ' liberica '
11- description : ' The Java distribution to use for the build '
10+ default : ' false '
11+ description : ' Whether the Java version is in early access '
1212 java-toolchain :
1313 required : false
1414 default : ' false'
3535 with :
3636 develocity-access-key : ${{ inputs.develocity-access-key }}
3737 java-version : ${{ inputs.java-version }}
38- java-distribution : ${{ inputs.java-distribution }}
38+ java-early-access : ${{ inputs.java-early-access }}
3939 java-toolchain : ${{ inputs.java-toolchain }}
4040 - name : Build
4141 id : build
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ inputs:
55 required : false
66 default : ' 17'
77 description : ' The Java version to use for the build'
8- java-distribution :
8+ java-early-access :
99 required : false
10- default : ' liberica '
11- description : ' The Java distribution to use for the build '
10+ default : ' false '
11+ description : ' Whether the Java version is in early access '
1212 java-toolchain :
1313 required : false
1414 default : ' false'
2727 - name : Set Up Java
2828 uses : actions/setup-java@v4
2929 with :
30- distribution : ${{ inputs.java-distribution }}
30+ distribution : ${{ inputs.java-early-access == 'true' && 'temurin' || 'liberica' }}
3131 java-version : |
32- ${{ inputs.java-version }}
32+ ${{ inputs.java-early-access == 'true' && format('{0}-ea', inputs.java-version) || inputs.java- version }}
3333 ${{ inputs.java-toolchain == 'true' && '17' || '' }}
3434 - name : Set Up Gradle
3535 uses : gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
Original file line number Diff line number Diff line change 2424 toolchain : true
2525 - version : 22
2626 toolchain : true
27- - version : 23-ea
28- distribution : temurin
27+ - version : 23
28+ early-access : true
2929 toolchain : true
3030 exclude :
3131 - os :
4646 uses : ./.github/actions/build
4747 with :
4848 java-version : ${{ matrix.java.version }}
49- java-distribution : ${{ matrix.java.distribution || 'liberica ' }}
49+ java-early-access : ${{ matrix.java.early-access || 'false ' }}
5050 java-toolchain : ${{ matrix.java.toolchain }}
5151 develocity-access-key : ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
5252 - name : Send Notification
You can’t perform that action at this time.
0 commit comments