Skip to content

Commit

Permalink
Merge pull request #330 from EasyPost/fix_release
Browse files Browse the repository at this point in the history
fix: publish
  • Loading branch information
Justintime50 committed Aug 9, 2024
2 parents 6300d3f + 90bc2c0 commit e262e45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name: Publish library to Maven Central Repository

on:
release:
types: [ created ]
types: [created]
secrets:
MAVEN_USERNAME:
required: true
Expand Down Expand Up @@ -44,8 +44,8 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}

- name: Clean, build and publish to Apache Maven Central
run: make publish pass=${{ secrets.MAVEN_GPG_PASSPHRASE }}
- name: Publish to Apache Maven Central
run: mvn deploy
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
Expand Down

0 comments on commit e262e45

Please sign in to comment.