We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 079954c commit d5886a3Copy full SHA for d5886a3
.github/workflows/build.yml
@@ -11,11 +11,10 @@ jobs:
11
strategy:
12
matrix:
13
# Use these Java versions
14
- java: [
15
- 21, # Current Java LTS & minimum supported by Minecraft
16
- ]
+ java: [ 21 ]
+ distro: [ temurin ]
17
# and run on both Linux and Windows
18
- os: [ ubuntu-20.04, windows-2022 ]
+ os: [ ubuntu-latest ]
19
runs-on: ${{ matrix.os }}
20
steps:
21
- name: checkout repository
@@ -25,7 +24,7 @@ jobs:
25
24
- name: setup jdk ${{ matrix.java }}
26
uses: actions/setup-java@v4
27
with:
28
- distribution: temurin
+ distribution: ${{ matrix.distro }}
29
java-version: ${{ matrix.java }}
30
- name: make gradle wrapper executable
31
if: ${{ runner.os != 'Windows' }}
@@ -37,4 +36,4 @@ jobs:
37
36
uses: actions/upload-artifact@v4
38
39
name: Artifacts
40
- path: build/libs/
+ path: build/libs/
0 commit comments