Skip to content

Commit

Permalink
Fix publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
outscale-mdr committed Feb 6, 2023
1 parent ee9235a commit 3cf94e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 33 deletions.
28 changes: 0 additions & 28 deletions .github/scripts/create-m2-settings.xml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
distribution: 'temurin'
java-version: '11'
cache: 'maven'
- name: Setup credentials
run: .github/scripts/create-m2-settings.xml
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
server-id: ossrh
server-username: ${{ secrets.SONATYPE_USERNAME }}
server-password: ${{ secrets.SONATYPE_USERNAME }}
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Publish
run: mvn deploy

0 comments on commit 3cf94e0

Please sign in to comment.