Skip to content

Commit 67502f6

Browse files
committed
ci: try central publish without gpg signing
1 parent f5bb760 commit 67502f6

2 files changed

Lines changed: 2 additions & 18 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ jobs:
2323
java-version: 25
2424
cache: maven
2525
server-id: central
26-
server-username: ${{ secrets.CENTRAL_USERNAME }}
27-
server-password: ${{ secrets.CENTRAL_PASSWORD }}
28-
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
29-
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
26+
server-username: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
27+
server-password: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
3028

3129
- name: Check release gate
3230
id: gate

pom.xml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -142,20 +142,6 @@
142142
</execution>
143143
</executions>
144144
</plugin>
145-
<plugin>
146-
<groupId>org.apache.maven.plugins</groupId>
147-
<artifactId>maven-gpg-plugin</artifactId>
148-
<version>3.2.8</version>
149-
<executions>
150-
<execution>
151-
<id>sign-artifacts</id>
152-
<phase>verify</phase>
153-
<goals>
154-
<goal>sign</goal>
155-
</goals>
156-
</execution>
157-
</executions>
158-
</plugin>
159145
</plugins>
160146
</build>
161147
</profile>

0 commit comments

Comments
 (0)