Skip to content

Commit 7b2e9a3

Browse files
authored
fix
1 parent 9afe63e commit 7b2e9a3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ jobs:
1919
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
2020
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
2121

22-
- name: Build with Maven
23-
run: mvn -B package --file pom.xml
24-
2522
- name: Publish to Apache Maven Central
26-
run: mvn deploy
23+
run: mvn clean deploy -P release
2724
env:
2825
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
2926
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}

0 commit comments

Comments
 (0)