diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0aff54f..7cb53ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: # Use these Java versions - java: [17] + java: [21] # and run on both Linux and Windows os: [ubuntu-22.04] runs-on: ${{ matrix.os }} @@ -31,7 +31,7 @@ jobs: - name: build run: ./gradlew build - name: capture build artifacts - if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS + if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from latest java on one OS uses: actions/upload-artifact@v3 with: name: Artifacts