This is an automated email from the ASF dual-hosted git repository. centic9 pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/poi.git
commit 15dc56c1b61730fb9f536627ea287df638e448ce Author: Dominik Stadler <[email protected]> AuthorDate: Sat Oct 25 13:27:50 2025 +0200 Use Matrix-Build in GitHub Action to build for JDK 17 and 21 --- .github/workflows/test-gradle.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-gradle.yml b/.github/workflows/test-gradle.yml index c6c7aadcbc..bbe0a1b863 100644 --- a/.github/workflows/test-gradle.yml +++ b/.github/workflows/test-gradle.yml @@ -13,17 +13,24 @@ permissions: {} jobs: build: + runs-on: ${{ matrix.os }} - runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + # for now verify JDK 8 and 11 + java: [ 17, 21 ] + name: Java ${{ matrix.java }} build steps: - uses: actions/checkout@v6 - - name: Set up JDK + - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v5 with: distribution: 'temurin' - java-version: '17' + java-version: ${{ matrix.java }} cache: 'gradle' - name: Grant execute permission for gradlew --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
