File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 21
21
server-id : ossrh
22
22
server-username : MAVEN_USERNAME
23
23
server-password : MAVEN_PASSWORD
24
+ gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
25
+ gpg-passphrase : MAVEN_GPG_PASSPHRASE
24
26
- name : Build with Maven
25
27
run : mvn -B compile --file pom.xml
26
28
39
41
env :
40
42
MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
41
43
MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
44
+ MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
42
45
Original file line number Diff line number Diff line change 131
131
</execution >
132
132
</executions >
133
133
</plugin >
134
- <!-- < plugin>
134
+ <plugin >
135
135
<groupId >org.apache.maven.plugins</groupId >
136
136
<artifactId >maven-gpg-plugin</artifactId >
137
137
<version >1.5</version >
144
144
</goals >
145
145
</execution >
146
146
</executions >
147
- </plugin>-->
147
+ </plugin >
148
148
149
149
</plugins >
150
150
</build >
You can’t perform that action at this time.
0 commit comments