We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9afe63e commit 7b2e9a3Copy full SHA for 7b2e9a3
.github/workflows/publish.yaml
@@ -19,11 +19,8 @@ jobs:
19
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
20
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
21
22
- - name: Build with Maven
23
- run: mvn -B package --file pom.xml
24
-
25
- name: Publish to Apache Maven Central
26
- run: mvn deploy
+ run: mvn clean deploy -P release
27
env:
28
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
29
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
0 commit comments