Skip to content

Commit 9dbdf20

Browse files
committed
No issue. Skip gpg on snapshot builds
1 parent 86b3823 commit 9dbdf20

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
distribution: 'temurin'
2222
cache: maven
2323
- name: Build with Maven
24-
run: mvn -B package --no-transfer-progress --file pom.xml
24+
run: mvn -B package --no-transfer-progress --file pom.xml -Dgpg.skip

.github/workflows/build-snapshot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
distribution: 'temurin'
2121
cache: maven
2222
- name: Build with Maven
23-
run: mvn -B install -Dgpg.skip --no-transfer-progress --file pom.xml
23+
run: mvn -B install --no-transfer-progress --file pom.xml -Dgpg.skip
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626

@@ -39,6 +39,6 @@ jobs:
3939
cache: maven
4040

4141
- name: Publish SNAPSHOT version to GitHub Packages (we can skip tests, since we only deploy, if the build workflow succeeded)
42-
run: mvn -B --no-transfer-progress deploy -DskipTests
42+
run: mvn -B deploy --no-transfer-progress --file pom.xml -DskipTests -Dgpg.skip
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)