File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed
Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -8,30 +8,23 @@ on: [pull_request, push]
88
99jobs :
1010 build :
11- strategy :
12- matrix :
13- # Use these Java versions
14- java : [
15- 21, # Current Java LTS
16- ]
17- runs-on : ubuntu-22.04
11+ runs-on : ubuntu-24.04
1812 steps :
1913 - name : checkout repository
2014 uses : actions/checkout@v4
2115 - name : validate gradle wrapper
22- uses : gradle/wrapper-validation-action@v2
23- - name : setup jdk ${{ matrix.java }}
16+ uses : gradle/actions/ wrapper-validation@v4
17+ - name : setup jdk
2418 uses : actions/setup-java@v4
2519 with :
26- java-version : ${{ matrix.java }}
20+ java-version : ' 21 '
2721 distribution : ' microsoft'
2822 - name : make gradle wrapper executable
2923 run : chmod +x ./gradlew
3024 - name : build
3125 run : ./gradlew build
3226 - name : capture build artifacts
33- if : ${{ matrix.java == '21' }} # Only upload artifacts built from latest java
3427 uses : actions/upload-artifact@v4
3528 with :
3629 name : Artifacts
37- path : build/libs/
30+ path : build/libs/
You can’t perform that action at this time.
0 commit comments