File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 with :
2323 fetch-depth : 0
2424 - name : Validate Gradle wrapper
25- uses : gradle/wrapper-validation-action@v1
25+ uses : gradle/actions/ wrapper-validation@v4
2626 - name : Setup JDK ${{ matrix.java }}
2727 uses : actions/setup-java@v4
2828 with :
Original file line number Diff line number Diff line change @@ -14,12 +14,13 @@ jobs:
1414 matrix :
1515 # Use these Java versions
1616 java : [21]
17+ distro : [temurin]
1718 # and run on both Linux and Windows
18- os : [ubuntu-22.04 ]
19+ os : [ubuntu-latest ]
1920 runs-on : ${{ matrix.os }}
2021 steps :
2122 - name : Checkout repository
22- uses : actions/checkout@v3
23+ uses : actions/checkout@v4
2324 with :
2425 fetch-depth : 0
2526 - name : Create version tag
@@ -35,11 +36,11 @@ jobs:
3536 - name : Fetch tags
3637 run : git fetch --tags
3738 - name : Validate Gradle wrapper
38- uses : gradle/wrapper-validation-action@v1
39+ uses : gradle/actions/ wrapper-validation@v4
3940 - name : Setup JDK ${{ matrix.java }}
40- uses : actions/setup-java@v3
41+ uses : actions/setup-java@v4
4142 with :
42- distribution : zulu
43+ distribution : ${{ matrix.distro }}
4344 java-version : ${{ matrix.java }}
4445 - name : Make Gradle wrapper executable
4546 if : ${{ runner.os != 'Windows' }}
You can’t perform that action at this time.
0 commit comments