[CI] Adjust check-samples.yml for Java 21
Exclude the 'sample-signup-function' as it does not compile w/ Java 21
This commit is contained in:
4
.github/workflows/check-samples.yml
vendored
4
.github/workflows/check-samples.yml
vendored
@@ -42,8 +42,10 @@ jobs:
|
||||
include:
|
||||
- javaVersion: 17
|
||||
springBootVersion: "${{ needs.prerequisites.outputs.boot_version }}"
|
||||
samplesTarget: ':runAllSampleTests'
|
||||
- javaVersion: 21
|
||||
springBootVersion: "${{ needs.prerequisites.outputs.boot_version }}"
|
||||
samplesTarget: ':runAllSampleTests -x :spring-pulsar-sample-apps:sample-pulsar-functions:sample-signup-function:test'
|
||||
runs-on: ubuntu-latest
|
||||
if: needs.prerequisites.outputs.runjobs
|
||||
steps:
|
||||
@@ -64,4 +66,4 @@ jobs:
|
||||
-PspringBootVersion="$BOOT_VERSION" \
|
||||
-PtestToolchain="$JAVA_VERSION" \
|
||||
-PsampleTests \
|
||||
:runAllSampleTests
|
||||
${{ matrix.samplesTarget }}
|
||||
|
||||
Reference in New Issue
Block a user