File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -15,25 +15,26 @@ jobs:
1515 17, # Current Java LTS & minimum supported by Minecraft
1616 ]
1717 # and run on both Linux and Windows
18- os : [ubuntu-20.04 , windows-2022 ]
18+ os : [ubuntu-latest , windows-latest ]
1919 runs-on : ${{ matrix.os }}
2020 steps :
2121 - name : checkout repository
22- uses : actions/checkout@v2
22+ uses : actions/checkout@v4
2323 - name : validate gradle wrapper
24- uses : gradle/wrapper-validation-action@v1
24+ uses : gradle/wrapper-validation-action@v2
2525 - name : setup jdk ${{ matrix.java }}
26- uses : actions/setup-java@v1
26+ uses : actions/setup-java@v4
2727 with :
2828 java-version : ${{ matrix.java }}
29+ distribution : ' temurin'
2930 - name : make gradle wrapper executable
3031 if : ${{ runner.os != 'Windows' }}
3132 run : chmod +x ./gradlew
3233 - name : build
3334 run : ./gradlew build
3435 - name : capture build artifacts
3536 if : ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
36- uses : actions/upload-artifact@v2
37+ uses : actions/upload-artifact@v4
3738 with :
3839 name : Artifacts
3940 path : build/libs/
You can’t perform that action at this time.
0 commit comments