Skip to content

Commit 8a3e366

Browse files
authored
Merge pull request #28 from Bandwidth/SWI-6631
SWI-6631 Remove SIgning
2 parents 5f25fad + 3a795f3 commit 8a3e366

File tree

2 files changed

+2
-23
lines changed

2 files changed

+2
-23
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ on:
33
release:
44
types:
55
- published
6+
67
jobs:
78
publish:
89
if: ${{ !github.event.release.prerelease && github.event.release.target_commitish == 'master' }}
910
runs-on: ubuntu-latest
1011
steps:
1112
- uses: actions/checkout@v3
13+
1214
- name: Set up Apache Maven Central
1315
uses: actions/setup-java@v4
1416
with:
@@ -17,8 +19,6 @@ jobs:
1719
server-id: 'ossrh'
1820
server-username: OSSRH_USERNAME
1921
server-password: OSSRH_PASSWORD
20-
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
21-
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2222

2323
- name: Get Maven project version
2424
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
@@ -31,4 +31,3 @@ jobs:
3131
env:
3232
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
3333
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
34-
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

pom.xml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -97,26 +97,6 @@
9797
</execution>
9898
</executions>
9999
</plugin>
100-
<plugin>
101-
<groupId>org.apache.maven.plugins</groupId>
102-
<artifactId>maven-gpg-plugin</artifactId>
103-
<version>3.0.1</version>
104-
<executions>
105-
<execution>
106-
<id>sign-artifacts</id>
107-
<phase>verify</phase>
108-
<goals>
109-
<goal>sign</goal>
110-
</goals>
111-
</execution>
112-
</executions>
113-
<configuration>
114-
<gpgArguments>
115-
<arg>--pinentry-mode</arg>
116-
<arg>loopback</arg>
117-
</gpgArguments>
118-
</configuration>
119-
</plugin>
120100
<plugin>
121101
<groupId>org.sonatype.plugins</groupId>
122102
<artifactId>nexus-staging-maven-plugin</artifactId>

0 commit comments

Comments
 (0)