From 015d034f0f8ab0d810558b2babcc267cc11bcf4b Mon Sep 17 00:00:00 2001 From: LudoCrypt <60561627+LudoCrypt@users.noreply.github.com> Date: Tue, 30 Nov 2021 17:00:58 -0600 Subject: [PATCH] Attempt to fix workflows --- .github/workflows/check_build.yml | 5 +++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) 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