File tree Expand file tree Collapse file tree 4 files changed +15
-10
lines changed
Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 1515 steps :
1616 - uses : actions/checkout@v2
1717 - name : Set up JDK 1.11
18- uses : actions/setup-java@v1
18+ uses : actions/setup-java@v2
1919 with :
20- java-version : 1.11
20+ distribution : ' adopt'
21+ java-version : ' 11'
2122
2223 - name : Build with Maven
2324 run : mvn -B package -Pcoverage
Original file line number Diff line number Diff line change 1818 fetch-depth : 0
1919
2020 - name : Set up JDK 1.11
21- uses : actions/setup-java@v1
21+ uses : actions/setup-java@v2
2222 with :
23- java-version : 1.11
23+ distribution : ' adopt'
24+ java-version : ' 11'
2425
2526 - name : Build docs with Maven
2627 run : mvn javadoc:javadoc
Original file line number Diff line number Diff line change 1818 steps :
1919 - uses : actions/checkout@v2
2020 - name : Set up JDK 11
21- uses : actions/setup-java@v1
21+ uses : actions/setup-java@v2
2222 with :
23- java-version : 1.11
23+ distribution : ' adopt'
24+ java-version : ' 11'
2425 server-id : github
2526
2627 - name : Build with Maven
Original file line number Diff line number Diff line change 2020 run : echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
2121
2222 - name : Set up JDK 11 for deploy to OSSRH
23- uses : actions/setup-java@v1
23+ uses : actions/setup-java@v2
2424 with :
25- java-version : 1.11
25+ distribution : ' adopt'
26+ java-version : ' 11'
2627 server-id : ossrh
2728 server-username : MAVEN_USERNAME
2829 server-password : MAVEN_CENTRAL_TOKEN
4344 MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
4445
4546 - name : Set up JDK 11 for deploy to github packages
46- uses : actions/setup-java@v1
47+ uses : actions/setup-java@v2
4748 with :
48- java-version : 1.11
49+ distribution : ' adopt'
50+ java-version : ' 11'
4951 server-id : github
5052
5153 - name : Publish to GitHub Packages Apache Maven
You can’t perform that action at this time.
0 commit comments