Skip to content

Commit 7559391

Browse files
committed
Skip gpg signature on regular builds
1 parent fc9de2c commit 7559391

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/Continuous.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ jobs:
2323
java-version: '21'
2424
distribution: 'temurin'
2525
cache: maven
26-
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
27-
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2826
- name: Run the Maven verify phase
2927
run: mvn verify jacoco:report -e --update-snapshots --no-transfer-progress
3028
env:
@@ -40,4 +38,3 @@ jobs:
4038
run: mvn deploy --no-transfer-progress
4139
env:
4240
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
</distributionManagement>
4747

4848
<properties>
49+
<gpg.skip>true</gpg.skip>
4950
<maven.compiler.source>21</maven.compiler.source>
5051
<maven.compiler.target>21</maven.compiler.target>
5152
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -249,6 +250,9 @@
249250
<profiles>
250251
<profile>
251252
<id>publish</id>
253+
<properties>
254+
<gpg.skip>false</gpg.skip>
255+
</properties>
252256
<build>
253257
<plugins>
254258
<plugin>

0 commit comments

Comments
 (0)