Skip to content

Commit

Permalink
Add nexus env var
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jul 24, 2024
1 parent 3da08a7 commit 7ad0876
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 51 deletions.
25 changes: 0 additions & 25 deletions .github/.m2/settings.xml

This file was deleted.

28 changes: 2 additions & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,31 +57,7 @@ jobs:
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
MAVEN_GPG_KEY_FINGERPRINT: '0x0181A4828FA27B6BE6F1F5A68611CD28F472E006!'
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
run: |
mvn -B release:prepare release:perform -Darguments="-DskipTests"
# - name: Test
# run: |
# gpg --sign pom.xml
# git add pom.xml.gpg
# git commit -m "Sign pom"
# git push

# - name: Release
# run: |
# mvn release:prepare
#
# - name: Release
# uses: speter555/gh-action-mvn-release-main@v0.31.0
# with:
# NEXUS_USER: ${{ secrets.NEXUS_USER }}
# NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
# ARTIFACT_STORE_SERVER_ID: ''
# SETTINGS_XML_PATH: '.github/.m2/settings.xml'
# GPG_KEY_ID_GITHUB_TECHUSER: '8611CD28F472E006'
# GPG_SIGNING_KEY_GITHUB_TECHUSER: ${{ secrets.GPG_SIGNING_KEY_GITHUB_TECHUSER }}
# SSH_PRIVATE_KEY_GITHUB_TECHUSER: ${{ secrets.SSH_PRIVATE_KEY_GITHUB_TECHUSER }}
# TECH_USER_USERNAME: 'gnodet'
# TECH_USER_EMAIL: 'gnodet@gmail.com'
# JAVA_VERSION: '22'
# JAVA_DISTRIBUTION: 'temurin'

0 comments on commit 7ad0876

Please sign in to comment.