File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,18 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v3
1717 - name : Cache Maven packages
18- uses : actions/cache@v2
18+ uses : actions/cache@v3
1919 with :
2020 path : ~/.m2
2121 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
2222 restore-keys : ${{ runner.os }}-m2
2323 - name : Set up JDK
24- uses : actions/setup-java@v1
24+ uses : actions/setup-java@v3
2525 with :
2626 # 11 runtime needed for Sonar, we still build with 8 as a target
27+ distribution : ' adopt'
2728 java-version : 11
2829 - name : Build with Maven
2930 run : ./mvnw -B --file pom.xml verify
Original file line number Diff line number Diff line change @@ -11,17 +11,18 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v3
1515 - name : Cache Maven packages
16- uses : actions/cache@v2
16+ uses : actions/cache@v3
1717 with :
1818 path : ~/.m2
1919 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
2020 restore-keys : ${{ runner.os }}-m2
2121 - name : Set up JDK
22- uses : actions/setup-java@v1
22+ uses : actions/setup-java@v3
2323 with :
2424 # 11 runtime needed for Sonar, we still build with 8 as a target
25+ distribution : ' adopt'
2526 java-version : 11
2627 server-id : ossrh-distro
2728 server-username : MAVEN_USERNAME
You can’t perform that action at this time.
0 commit comments