File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,14 +17,11 @@ jobs:
1717 server-id : ossrh
1818 server-username : MAVEN_USERNAME
1919 server-password : MAVEN_PASSWORD
20- - name : Install gpg secret key
21- run : |
22- cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
23- gpg --list-secret-keys --keyid-format LONG
20+ gpg-private-key : ${{ secrets.GPG_SECRET_KEY }}
21+ gpg-passphrase : GPG_SECRET_KEY_PASSWORD
2422 - name : Build with Maven
25- run : mvn --batch-mode \
26- -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} \
27- deploy
23+ run : mvn --batch-mode deploy
2824 env :
2925 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
3026 MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
27+ GPG_SECRET_KEY_PASSWORD : ${{ secrets.GPG_SECRET_KEY_PASSWORD }}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Project creation
77$ mvn archetype:generate \
88 -DarchetypeGroupId=com.pigumer.tools.archetype \
99 -DarchetypeArtifactId=openapi-archetype \
10- -DarchetypeVersion=0.1.7 \
10+ -DarchetypeVersion=0.1.8 \
1111 -DgroupId=com.pigumer.example-service \
1212 -DartifactId=example-service-generated-modules \
1313 -DserviceId=example \
Original file line number Diff line number Diff line change 44
55 <groupId >com.pigumer.tools.archetype</groupId >
66 <artifactId >openapi-archetype</artifactId >
7- <version >0.1.7 </version >
7+ <version >0.1.8 </version >
88 <packaging >maven-archetype</packaging >
99
1010 <name >openapi-archetype</name >
4242 <groupId >org.apache.maven.plugins</groupId >
4343 <artifactId >maven-gpg-plugin</artifactId >
4444 <version >1.6</version >
45- <configuration >
46- <gpgArguments >
47- <argument >--pinentry-mode</argument >
48- <argument >loopback</argument >
49- </gpgArguments >
50- </configuration >
5145 <executions >
5246 <execution >
5347 <id >sign-artifacts</id >
You can’t perform that action at this time.
0 commit comments