Skip to content

Commit

Permalink
release: 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoesle committed Apr 16, 2024
1 parent 242f09f commit aa22ebe
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/workflow-build-and-release-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,21 +91,20 @@ jobs:
chmod +x ./mvnw
./mvnw versions:set --batch-mode -DremoveSnapshot -DprocessAllModules
- name: RELEASE / Build and Release Maven
if: inputs.maven-release == true
uses: samuelmeuli/action-maven-publish@v1
with:
gpg_private_key: ${{ secrets.PGP_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.PGP_PRIVATE_KEY_SECRET }}
nexus_username: ${{ secrets.NEXUS_USERNAME }}
nexus_password: ${{ secrets.NEXUS_PASSWORD }}

# - name: RELEASE / Build and Release Maven
# if: inputs.maven-release == true
# run: |
# mvn clean verify -DskipTests
# mvn --batch-mode --no-transfer-progress deploy --activate-profiles deploy -DskipTests
## ./mvnw --batch-mode --no-transfer-progress deploy --activate-profiles deploy -DskipTests -Dgpg.keyname="${{ env.SECRET_KEY }}" -Dgpg.passphrase="${{ secrets.PGP_PRIVATE_KEY_SECRET }}"
# uses: samuelmeuli/action-maven-publish@v1
# with:
# gpg_private_key: ${{ secrets.PGP_PRIVATE_KEY }}
# gpg_passphrase: ${{ secrets.PGP_PRIVATE_KEY_SECRET }}
# nexus_username: ${{ secrets.NEXUS_USERNAME }}
# nexus_password: ${{ secrets.NEXUS_PASSWORD }}

- name: RELEASE / Build and Release Maven
if: inputs.maven-release == true
run: |
mvn --batch-mode --no-transfer-progress deploy --activate-profiles deploy -DskipTests
# ./mvnw --batch-mode --no-transfer-progress deploy --activate-profiles deploy -DskipTests -Dgpg.keyname="${{ env.SECRET_KEY }}" -Dgpg.passphrase="${{ secrets.PGP_PRIVATE_KEY_SECRET }}"
# env:
# PGP_PRIVATE_KEY: ${{ secrets.PGP_PRIVATE_KEY }}
# PGP_PRIVATE_KEY_SECRET: ${{ secrets.PGP_PRIVATE_KEY_SECRET }}
Expand Down

0 comments on commit aa22ebe

Please sign in to comment.