File tree Expand file tree Collapse file tree 3 files changed +11
-16
lines changed
Expand file tree Collapse file tree 3 files changed +11
-16
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-20.04
99 steps :
1010 - name : Checkout
11- uses : actions/checkout@v2
11+ uses : actions/checkout@v4
1212 with :
1313 fetch-depth : 2
1414 - name : Setup JDK
15- uses : actions/setup-java@v1
15+ uses : actions/setup-java@v4
1616 with :
1717 java-version : 17
18- - name : Cache local Maven repository
19- uses : actions/cache@v2
20- with :
21- path : ~/.m2/repository
22- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
23- restore-keys : |
24- ${{ runner.os }}-maven-
18+ distribution : ' temurin'
19+ cache : ' maven'
2520 - name : mvn build
26- run : ./mvnw clean install -Djib.skip -B
21+ run : ./mvnw clean install -Djib.skip -B -ntp
Original file line number Diff line number Diff line change 88 runs-on : ubuntu-20.04
99 steps :
1010 - name : Checkout
11- uses : actions/checkout@v2
11+ uses : actions/checkout@v4
1212 with :
1313 fetch-depth : 0
1414 # We need a personal access token to be able to push to a protected branch
1515 token : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
1616
1717 - name : Setup JDK
18- uses : actions/setup-java@v2
18+ uses : actions/setup-java@v4
1919 with :
2020 java-version : 17
2121 java-package : jdk
22- distribution : adopt
22+ distribution : ' temurin '
2323 architecture : x64
2424 # this also creates settings.xml with the following server
2525 server-id : sonatype-nexus-staging # Value of the distributionManagement/repository/id field of the pom.xml
Original file line number Diff line number Diff line change @@ -18,18 +18,18 @@ jobs:
1818 runs-on : ubuntu-20.04
1919 steps :
2020 - name : Checkout
21- uses : actions/checkout@v2
21+ uses : actions/checkout@v4
2222 with :
2323 fetch-depth : 0
2424 # We need a personal access token to be able to push to a protected branch
2525 token : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
2626
2727 - name : Setup JDK
28- uses : actions/setup-java@v2
28+ uses : actions/setup-java@v4
2929 with :
3030 java-version : 17
3131 java-package : jdk
32- distribution : adopt
32+ distribution : ' temurin '
3333 architecture : x64
3434 # this also creates settings.xml with the following server
3535 server-id : sonatype-nexus-staging # Value of the distributionManagement/repository/id field of the pom.xml
You can’t perform that action at this time.
0 commit comments