File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 strategy :
77 matrix :
88 java : [21]
9- os : [ubuntu-20.04, windows-latest]
10- runs-on : ${{ matrix.os }}
9+ runs-on : ubuntu-22.04
1110 steps :
1211 - name : checkout repository
13- uses : actions/checkout@v2
12+ uses : actions/checkout@v4
1413 - name : validate gradle wrapper
15- uses : gradle/wrapper-validation-action@v1
14+ uses : gradle/wrapper-validation-action@v2
1615 - name : setup jdk ${{ matrix.java }}
17- uses : actions/setup-java@v1
16+ uses : actions/setup-java@v4
1817 with :
1918 java-version : ${{ matrix.java }}
19+ distribution : ' microsoft'
2020 - name : make gradle wrapper executable
21- if : ${{ runner.os != 'Windows' }}
2221 run : chmod +x ./gradlew
2322 - name : build
2423 run : ./gradlew build
2524 - name : capture build artifacts
26- if : ${{ runner.os == 'Linux' && matrix.java == '21' }}
27- uses : actions/upload-artifact@v2
25+ if : ${{ matrix.java == '21' }}
26+ uses : actions/upload-artifact@v4
2827 with :
2928 name : Artifacts
3029 path : build/libs/
You can’t perform that action at this time.
0 commit comments