Skip to content

Commit 0423c2f

Browse files
committed
Add Java 25 to check-samples.yml matrix.
This adds Java 25 to the list of JVM variants used in the check-samples.yml GH workflow. Signed-off-by: onobc <[email protected]>
1 parent 77604a1 commit 0423c2f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/check-samples.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,23 @@ jobs:
7777
- uses: actions/checkout@v5
7878
- uses: spring-io/spring-gradle-build-action@v2
7979
with:
80-
java-version: "${{ matrix.javaVersion }}"
80+
java-version: '25'
8181
distribution: 'liberica'
82-
- name: Check samples project
82+
- name: Build Java 25
83+
run: |
84+
./gradlew clean build -x check publishMavenJavaPublicationToLocalRepository
85+
- uses: spring-io/spring-gradle-build-action@v2
86+
with:
87+
java-version: {{ matrix.javaVersion }}
88+
distribution: 'liberica'
89+
- name: Check samples (Java {{ matrix.javaVersion }})
8390
env:
8491
LOCAL_REPOSITORY_PATH: ${{ github.workspace }}/build/publications/repos
8592
VERSION: ${{ matrix.springPulsarVersion }}
8693
BOOT_VERSION: ${{ matrix.springBootVersion }}
8794
PULSAR_VERSION: ${{ matrix.pulsarVersion }}
8895
JAVA_VERSION: ${{ matrix.javaVersion }}
8996
run: |
90-
./gradlew publishMavenJavaPublicationToLocalRepository
9197
./gradlew \
9298
--init-script ./spring-pulsar-sample-apps/sample-apps-check-ci.gradle \
9399
-PlocalRepositoryPath="$LOCAL_REPOSITORY_PATH" \

0 commit comments

Comments
 (0)