Skip to content

Commit d5886a3

Browse files
committed
Update build.yml
1 parent 079954c commit d5886a3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ jobs:
1111
strategy:
1212
matrix:
1313
# Use these Java versions
14-
java: [
15-
21, # Current Java LTS & minimum supported by Minecraft
16-
]
14+
java: [ 21 ]
15+
distro: [ temurin ]
1716
# and run on both Linux and Windows
18-
os: [ ubuntu-20.04, windows-2022 ]
17+
os: [ ubuntu-latest ]
1918
runs-on: ${{ matrix.os }}
2019
steps:
2120
- name: checkout repository
@@ -25,7 +24,7 @@ jobs:
2524
- name: setup jdk ${{ matrix.java }}
2625
uses: actions/setup-java@v4
2726
with:
28-
distribution: temurin
27+
distribution: ${{ matrix.distro }}
2928
java-version: ${{ matrix.java }}
3029
- name: make gradle wrapper executable
3130
if: ${{ runner.os != 'Windows' }}
@@ -37,4 +36,4 @@ jobs:
3736
uses: actions/upload-artifact@v4
3837
with:
3938
name: Artifacts
40-
path: build/libs/
39+
path: build/libs/

0 commit comments

Comments
 (0)