Skip to content

Commit

Permalink
chore: add deploying with revision
Browse files Browse the repository at this point in the history
  • Loading branch information
r4tylmz committed Nov 14, 2024
1 parent 506847c commit f8b2a4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Step 3 - Publish Package to Maven Central
- name: Step 4 - Publish Package to Maven Central
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
run: mvn clean deploy -P release -DskipTests --batch-mode
run: mvn clean deploy -P release -DskipTests --batch-mode -Drevision=${{ github.event.inputs.version }}

0 comments on commit f8b2a4d

Please sign in to comment.