File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,15 @@ jobs:
2424 gpg-passphrase : MAVEN_GPG_PASSPHRASE
2525 server-username : MAVEN_USERNAME
2626 server-password : MAVEN_CENTRAL_TOKEN
27+ - name : Setup git profile
28+ run : |
29+ git config --global user.name github-actions
30+ git config --global user.email [email protected] 2731 - name : Publish to Maven Central
2832 run : mvn deploy
2933 env :
3034 MAVEN_USERNAME : hap-java-dev
3135 MAVEN_CENTRAL_TOKEN : ${{ secrets.MAVEN_CENTRAL_TOKEN }}
3236 MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
3337 - name : Publish site
34- run : mvn deploy- site
38+ run : mvn -B site-deploy -Dusername=github-actions -Dpassword=${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ Include HAP-Java in your project using maven:
2222</dependency>
2323```
2424
25- After that, check out the [ Sample] ( https://github.com/hap-java/HAP-Java/tree/sample ) .
25+ After that, check out the [ Sample] ( https://github.com/hap-java/HAP-Java/tree/sample ) and
26+ read the [ Javadoc] ( https://hap-java.github.io/HAP-Java/apidocs/index.html )
2627
2728Supported HomeKit Accessories
2829=========
Original file line number Diff line number Diff line change 211211 <plugin >
212212 <groupId >org.apache.maven.plugins</groupId >
213213 <artifactId >maven-scm-publish-plugin</artifactId >
214- <version >3.0 .0</version >
214+ <version >3.1 .0</version >
215215 <executions >
216216 <execution >
217217 <id >scm-publish</id >
You can’t perform that action at this time.
0 commit comments