File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,16 +12,16 @@ jobs:
1212 matrix :
1313 # Use these Java versions
1414 java : [
15- 21 , # Current Java LTS
15+ 25 , # Current Java LTS
1616 ]
1717 runs-on : ubuntu-22.04
1818 steps :
1919 - name : checkout repository
20- uses : actions/checkout@v4
20+ uses : actions/checkout@v6
2121 - name : validate gradle wrapper
22- uses : gradle/actions/wrapper-validation@v4
22+ uses : gradle/actions/wrapper-validation@v5
2323 - name : setup jdk ${{ matrix.java }}
24- uses : actions/setup-java@v4
24+ uses : actions/setup-java@v5.2.0
2525 with :
2626 java-version : ${{ matrix.java }}
2727 distribution : ' microsoft'
3030 - name : build
3131 run : ./gradlew build
3232 - name : capture build artifacts
33- if : ${{ matrix.java == '21 ' }} # Only upload artifacts built from latest java
34- uses : actions/upload-artifact@v4
33+ if : ${{ matrix.java == '25 ' }} # Only upload artifacts built from latest java
34+ uses : actions/upload-artifact@v7.0.0
3535 with :
3636 name : Artifacts
3737 path : build/libs/
You can’t perform that action at this time.
0 commit comments