Skip to content

Commit 379f378

Browse files
committed
Upgrade checkout and setup-java GH Actions
Backport of 6702218 These actions are running on Node.js 20, that goes away later this year https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
1 parent 7ed77b8 commit 379f378

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/ci-4.x.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ jobs:
8383
profile: 'Oracle-23'
8484
module: 'vertx-oracle-client'
8585
runs-on: ${{ matrix.os }}
86+
env:
87+
PROFILE_ARG: ${{ matrix.profile && format('-P {0}', matrix.profile) || '' }}
8688
steps:
8789
- name: Checkout
8890
uses: actions/checkout@v2
@@ -91,10 +93,12 @@ jobs:
9193
with:
9294
java-version: ${{ matrix.jdk }}
9395
distribution: temurin
94-
- name: Run tests
96+
- name: Build without tests
97+
run: |
98+
mvn -s .github/maven-ci-settings.xml -q clean install -B $PROFILE_ARG -pl :${{ matrix.module }} -am -DskipTests
99+
- name: Run tests for the target module
95100
run: |
96-
PROFILE_ARG="${{ matrix.profile && format('-P {0}', matrix.profile) || '' }}"
97-
mvn -s .github/maven-ci-settings.xml -q clean verify -B $PROFILE_ARG -pl :${{ matrix.module }} -am
101+
mvn -s .github/maven-ci-settings.xml -q verify -B $PROFILE_ARG -pl :${{ matrix.module }}
98102
Deploy:
99103
name: Deploy to OSSRH
100104
if: ${{ github.repository_owner == 'eclipse-vertx' && (github.event_name == 'push' || github.event_name == 'schedule') }}

0 commit comments

Comments
 (0)