1313 - name : Set up JDK 8
1414 uses : actions/setup-java@v2
1515 with :
16- distribution : ' zulu '
16+ distribution : ' temurin '
1717 java-version : ' 8'
18- java-package : jdk+fx
19-
20- - name : Cache local Maven repository
21- uses : actions/cache@v2
22- with :
23- path : ~/.m2/repository
24- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
25- restore-keys : |
26- ${{ runner.os }}-maven-
2718
2819 - name : Build with Maven
2920 run : mvn -B clean verify
8576 release_name : v${{ steps.version.outputs.release }}
8677 commitish : master
8778 body : |
88- ## Installation
79+ ## Installation [](https://mvnrepository.com/artifact/com.xdev-software/xapi-db-mysql-5)
8980 Add the following lines to your pom:
9081 ```XML
9182 <dependency>
@@ -109,12 +100,11 @@ jobs:
109100 git config --global user.name "GitHub Actions"
110101 git pull
111102
112- - name : Set up JDK 8 Apache Maven Central
103+ - name : Set up JDK 8 OSSRH
113104 uses : actions/setup-java@v2
114105 with : # running setup-java again overwrites the settings.xml
115- distribution : ' zulu '
106+ distribution : ' temurin '
116107 java-version : ' 8'
117- java-package : jdk+fx
118108 server-id : ossrh
119109 server-username : MAVEN_CENTRAL_USERNAME
120110 server-password : MAVEN_CENTRAL_TOKEN
@@ -144,17 +134,8 @@ jobs:
144134 - name : Set up JDK 8
145135 uses : actions/setup-java@v2
146136 with :
147- distribution : ' zulu '
137+ distribution : ' temurin '
148138 java-version : ' 8'
149- java-package : jdk+fx
150-
151- - name : Restore - Maven Cache
152- uses : actions/cache@v1
153- with :
154- path : ~/.m2/repository
155- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
156- restore-keys : |
157- ${{ runner.os }}-maven-:
158139
159140 - name : Build dependencies/licenses files
160141 run : mvn -B project-info-reports:dependencies
0 commit comments