diff --git a/.github/workflows/check_build.yml b/.github/workflows/check_build.yml index 5644821..43de717 100644 --- a/.github/workflows/check_build.yml +++ b/.github/workflows/check_build.yml @@ -15,7 +15,8 @@ jobs: 1.8, 11, 15, - 16 + 16, + 17 ] os: [ubuntu-20.04] runs-on: ${{ matrix.os }} @@ -36,7 +37,7 @@ jobs: - name: Build run: ./gradlew build --stacktrace --parallel - name: Capture build artifacts - if: ${{ runner.os == 'Linux' && matrix.java == '16' }} # Only upload artifacts built from LTS java on one OS + if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from LTS java on one OS uses: actions/upload-artifact@v2 with: name: Artifacts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de590e6..c131391 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: # Use these Java versions - java: [16] + java: [17] # and run on both Linux and Windows os: [ubuntu-20.04] runs-on: ${{ matrix.os }} @@ -55,7 +55,7 @@ jobs: MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} DISCORD_ANNOUNCEMENT_WEBHOOK: ${{ secrets.DISCORD_ANNOUNCEMENT_WEBHOOK }} - name: Capture build artifacts - if: ${{ runner.os == 'Linux' && matrix.java == '16' }} # Only upload artifacts built from LTS java on one OS + if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from LTS java on one OS uses: actions/upload-artifact@v2 with: name: Artifacts