Skip to content

Commit 68bc16b

Browse files
committed
Clean before deploy in snapshots
Signed-off-by: Todd Baert <[email protected]>
1 parent a38c2d2 commit 68bc16b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/merge.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,11 @@ jobs:
5656
name: coverage # optional
5757
fail_ci_if_error: true # optional (default = false)
5858
verbose: true # optional (default = false)
59+
5960
- name: Deploy
6061
run: |
61-
mvn -P gpg_verify \
62-
--no-transfer-progress \
63-
--batch-mode \
64-
--file pom.xml -s release/m2-settings.xml verify deploy
62+
mvn --batch-mode \
63+
--settings release/m2-settings.xml clean deploy
6564
env:
6665
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
6766
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

0 commit comments

Comments
 (0)