Skip to content

Commit

Permalink
Update CD.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sushithegreat committed Oct 24, 2022
1 parent 5f3821c commit f04dcbd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
server-password: OSSRH_TOKEN # env variable for token in deploy
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase


- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Publish package to Maven
run: |
mvn -X --batch-mode deploy -Dmaven.test.skip=true
Expand Down

0 comments on commit f04dcbd

Please sign in to comment.