Skip to content

Commit

Permalink
test new deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fugerit79 committed Feb 11, 2024
1 parent 2c15f64 commit 5c776bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy_maven_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
java-version: '17'
distribution: 'corretto'
cache: maven
- name: Release Maven package
uses: samuelmeuli/action-maven-publish@master
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.PASSPHRASE }}
nexus_username: ${{ secrets.OSS_USERNAME }}
nexus_password: ${{ secrets.OSS_PASSWORD }}
maven_args: -P doRelease
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish package
run: mvn --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.OSS_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSS_PASSWORD }}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<groupId>org.fugerit.java.labs</groupId>
<artifactId>fj-release-lab</artifactId>
<packaging>jar</packaging>
<version>0.3.1-rc.1</version>
<version>0.3.2-rc.2</version>

<name>fj-release-lab</name>
<description>Simple project to test release capabilities</description>
Expand Down

0 comments on commit 5c776bb

Please sign in to comment.