summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorAizistral2024-05-03 12:35:06 +0200
committerAizistral2024-05-03 12:35:06 +0200
commit1c3a7cd45defd1cb1cfeaeb3a04f285181258d43 (patch)
tree6ce036de016b522dd9fadf26002ac9a6766809c6 /.github/workflows
parent93431ded9ec631d9ef1c25084b567efe66e070d9 (diff)
Update to Java 21
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ac45f6d..b844d4b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -10,7 +10,7 @@ jobs:
build:
strategy:
matrix:
- java: [ 17 ]
+ java: [ 21 ]
os: [ubuntu-22.04, windows-2022]
runs-on: ${{ matrix.os }}
steps:
@@ -29,7 +29,7 @@ jobs:
- name: Build the mod
run: ./gradlew build
- name: Upload build artifacts
- if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts from one OS and required JDK.
+ if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts from one OS and required JDK.
uses: actions/upload-artifact@v3
with:
name: Artifacts