diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 8cf1b62d..4595819f 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -11,7 +11,7 @@ jobs: matrix: # Use these Java versions java: [ - '17' # Latest version + '21' # Latest version ] # and run on both Linux and Windows os: [ ubuntu-20.04 ] @@ -32,7 +32,7 @@ jobs: - name: build run: ./gradlew build - name: capture build artifacts - if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from LTS java on one OS + if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from LTS java on one OS uses: actions/upload-artifact@v3 with: name: Artifacts diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fbf4a43c..4dd89ac2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: matrix: # Use these Java versions java: [ - '17' # Latest version + '21' # Latest version ] # and run on both Linux and Windows os: [ubuntu-20.04] @@ -33,7 +33,7 @@ jobs: - name: build run: ./gradlew build - name: capture build artifacts - if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from LTS java on one OS + if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from LTS java on one OS uses: actions/upload-artifact@v3 with: name: Artifacts