summary refs log tree commit diff stats
path: root/.github
diff options
context:
space:
mode:
authormodmuss50 <modmuss50@gmail.com>2021-11-09 22:29:25 +0000
committerGitHub <noreply@github.com>2021-11-09 22:29:25 +0000
commit6f47013653157e1e262f0db8c20da26f045d3806 (patch)
tree3bf1afe4f0254ae118dac898d9cba90f52ca6055 /.github
parent8727262edd895d0b1a745463332bc05a2e493268 (diff)
Update to Gradle 7.3 and also build on Java 17
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 48f6c91..0e44562 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -12,10 +12,11 @@ jobs:
       matrix:
         # Use these Java versions
         java: [
-          16    # Minimum supported by Minecraft
+          16,    # Minimum supported by Minecraft
+          17,    # Current Java LTS
         ]
         # and run on both Linux and Windows
-        os: [ubuntu-20.04, windows-latest]
+        os: [ubuntu-20.04, windows-2022]
     runs-on: ${{ matrix.os }}
     steps:
       - name: checkout repository
@@ -32,7 +33,7 @@ jobs:
       - name: build
         run: ./gradlew build
       - name: capture build artifacts
-        if: ${{ runner.os == 'Linux' && matrix.java == '16' }} # Only upload artifacts built from latest java on one OS
+        if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
         uses: actions/upload-artifact@v2
         with:
           name: Artifacts