diff --git a/.github/workflows/maven-macos.yml b/.github/workflows/maven-macos.yml index 072db393..d2929088 100644 --- a/.github/workflows/maven-macos.yml +++ b/.github/workflows/maven-macos.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: # test against supported LTS versions and latest - java: [ 17, 21, 23 ] + java: [ 21, 23 ] name: OLCUT - macOS Java SE ${{ matrix.java }} steps: - uses: actions/checkout@v4 @@ -25,3 +25,16 @@ jobs: release: ${{ matrix.java }} - name: Build with Maven run: mvn -B package --file pom.xml + build-17: + runs-on: macos-latest + name: OLCUT - macOS Java SE 17 + steps: + - uses: actions/checkout@v4 + - name: Setup Oracle Java SE + uses: oracle-actions/setup-java@v1.4.0 + with: + website: oracle.com + release: 17 + version: 17.0.12 + - name: Build with Java 17 + run: mvn -B package --file pom.xml diff --git a/.github/workflows/maven-ubuntu.yml b/.github/workflows/maven-ubuntu.yml index 6417730d..8a8121c5 100644 --- a/.github/workflows/maven-ubuntu.yml +++ b/.github/workflows/maven-ubuntu.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: # test against supported LTS versions and latest - java: [ 17, 21, 23 ] + java: [ 21, 23 ] name: OLCUT - Ubuntu Java SE ${{ matrix.java }} steps: - uses: actions/checkout@v4 @@ -25,3 +25,16 @@ jobs: release: ${{ matrix.java }} - name: Build with Maven run: mvn -B package --file pom.xml + build-17: + runs-on: ubuntu-latest + name: OLCUT - Ubuntu Java SE 17 + steps: + - uses: actions/checkout@v4 + - name: Setup Oracle Java SE + uses: oracle-actions/setup-java@v1.4.0 + with: + website: oracle.com + release: 17 + version: 17.0.12 + - name: Build with Java 17 + run: mvn -B package --file pom.xml diff --git a/.github/workflows/maven-windows.yml b/.github/workflows/maven-windows.yml index d1511357..990a90e4 100644 --- a/.github/workflows/maven-windows.yml +++ b/.github/workflows/maven-windows.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: # test against supported LTS versions and latest - java: [ 17, 21, 23 ] + java: [ 21, 23 ] name: OLCUT - Windows Java SE ${{ matrix.java }} steps: - uses: actions/checkout@v4 @@ -25,3 +25,16 @@ jobs: release: ${{ matrix.java }} - name: Build with Maven run: mvn -B package --file pom.xml + build-17: + runs-on: windows-latest + name: OLCUT - Windows Java SE 17 + steps: + - uses: actions/checkout@v4 + - name: Setup Oracle Java SE + uses: oracle-actions/setup-java@v1.4.0 + with: + website: oracle.com + release: 17 + version: 17.0.12 + - name: Build with Java 17 + run: mvn -B package --file pom.xml