File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ jobs:
10
10
build :
11
11
strategy :
12
12
matrix :
13
- # Use these Java versions
13
+ # Use this Java versions
14
14
java : [
15
- 17 , # Current Java LTS & minimum supported by Minecraft
15
+ 21 , # Current Java LTS & minimum supported by Minecraft
16
16
]
17
- # and run on both Linux and Windows
18
- os : [ubuntu-22.04, windows-2022 ]
17
+ # and run Linux
18
+ os : [ubuntu-22.04]
19
19
runs-on : ${{ matrix.os }}
20
20
steps :
21
21
- name : checkout repository
33
33
- name : build
34
34
run : ./gradlew build
35
35
- name : capture build artifacts
36
- if : ${{ runner.os == 'Linux' && matrix.java == '17 ' }} # Only upload artifacts built from latest java on one OS
36
+ if : ${{ runner.os == 'Linux' && matrix.java == '21 ' }} # Only upload artifacts built from latest java on one OS
37
37
uses : actions/upload-artifact@v3
38
38
with :
39
39
name : Artifacts
You can’t perform that action at this time.
0 commit comments