Skip to content

Commit d37e07d

Browse files
committed
use signer bc
1 parent 93ec51c commit d37e07d

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

.github/workflows/maven_release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ on:
77
# Sequence of patterns matched against refs/tags
88
#tags:
99
# - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
10-
10+
env:
11+
OSS_USERNAME: ${{ secrets.OSS_USERNAME }}
12+
OSS_PASSWORD: ${{ secrets.OSS_PASSWORD }}
13+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
1114
jobs:
1215
publish:
1316
runs-on: ubuntu-latest

pom.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,16 @@
160160
<goals>
161161
<goal>sign</goal>
162162
</goals>
163+
<configuration>
164+
<!-- Prevent gpg from using pinentry programs -->
165+
<gpgArguments>
166+
<arg>--pinentry-mode</arg>
167+
<arg>loopback</arg>
168+
</gpgArguments>
169+
<signer>bc</signer>
170+
</configuration>
163171
</execution>
164172
</executions>
165-
<configuration>
166-
<!-- Prevent gpg from using pinentry programs -->
167-
<gpgArguments>
168-
<arg>--pinentry-mode</arg>
169-
<arg>loopback</arg>
170-
</gpgArguments>
171-
<signer>bc</signer>
172-
</configuration>
173173
</plugin>
174174
</plugins>
175175
</build>

0 commit comments

Comments
 (0)