Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
THOREL Arnaud authored and THOREL Arnaud committed Nov 28, 2023
1 parent 6b823cb commit 6bbbec8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: maven
gpg-private-key: MAVEN_GPG_PASSPHRASE
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand All @@ -37,7 +37,6 @@ jobs:
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
run: |
cat /home/runner/.m2/settings.xml
mvn -ntp -B deploy -DskipTests=true
3 changes: 1 addition & 2 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: maven
gpg-private-key: MAVEN_GPG_PASSPHRASE
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Release / Deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name 'github-actions'
Expand Down

0 comments on commit 6bbbec8

Please sign in to comment.