File tree 3 files changed +47
-5
lines changed
3 files changed +47
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : publish sdks
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ publish :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - name : Set up Maven Central Repository
12
+ uses : actions/setup-java@v1
13
+ with :
14
+ java-version : 8
15
+ server-id : ossrh
16
+ server-username : MAVEN_USERNAME
17
+ server-password : MAVEN_PASSWORD
18
+ gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
19
+ gpg-passphrase : MAVEN_GPG_PASSPHRASE
20
+ - name : Publish to Apache Maven Central
21
+ run : mvn clean deploy -Dmaven.test.skip=true -Prelease
22
+ env :
23
+ MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
24
+ MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
25
+ MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
Original file line number Diff line number Diff line change 213
213
<plugin >
214
214
<groupId >org.apache.maven.plugins</groupId >
215
215
<artifactId >maven-javadoc-plugin</artifactId >
216
- <version >2.10.4 </version >
216
+ <version >3.2.0 </version >
217
217
<configuration >
218
+ <doclint >none</doclint >
218
219
<encoding >${project.build.sourceEncoding} </encoding >
219
220
<detectOfflineLinks >true</detectOfflineLinks >
220
221
<breakiterator >true</breakiterator >
252
253
<plugin >
253
254
<groupId >org.apache.maven.plugins</groupId >
254
255
<artifactId >maven-gpg-plugin</artifactId >
255
- <version >1.5</version >
256
+ <version >3.0.1</version >
257
+ <configuration >
258
+ <!-- Prevent gpg from using pinentry programs -->
259
+ <gpgArguments >
260
+ <arg >--pinentry-mode</arg >
261
+ <arg >loopback</arg >
262
+ </gpgArguments >
263
+ </configuration >
256
264
<executions >
257
265
<execution >
258
266
<id >sign-artifacts</id >
Original file line number Diff line number Diff line change 730
730
</pluginRepository >
731
731
</pluginRepositories >
732
732
</profile >
733
-
734
733
<profile >
735
734
<id >release</id >
736
735
<build >
737
736
<plugins >
738
737
<plugin >
739
738
<groupId >org.apache.maven.plugins</groupId >
740
739
<artifactId >maven-javadoc-plugin</artifactId >
741
- <version >2.9.1</version >
740
+ <version >3.2.0</version >
741
+ <configuration >
742
+ <doclint >none</doclint >
743
+ </configuration >
742
744
<executions >
743
745
<execution >
744
746
<id >attach-javadocs</id >
762
764
<plugin >
763
765
<groupId >org.apache.maven.plugins</groupId >
764
766
<artifactId >maven-gpg-plugin</artifactId >
765
- <version >1.6</version >
767
+ <version >3.0.1</version >
768
+ <configuration >
769
+ <!-- Prevent gpg from using pinentry programs -->
770
+ <gpgArguments >
771
+ <arg >--pinentry-mode</arg >
772
+ <arg >loopback</arg >
773
+ </gpgArguments >
774
+ </configuration >
766
775
<executions >
767
776
<execution >
768
777
<id >sign-artifacts</id >
You can’t perform that action at this time.
0 commit comments