Skip to content

Commit e262e45

Browse files
authored
Merge pull request #330 from EasyPost/fix_release
fix: publish
2 parents 6300d3f + 90bc2c0 commit e262e45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ name: Publish library to Maven Central Repository
1111

1212
on:
1313
release:
14-
types: [ created ]
14+
types: [created]
1515
secrets:
1616
MAVEN_USERNAME:
1717
required: true
@@ -44,8 +44,8 @@ jobs:
4444
gpg-passphrase: MAVEN_GPG_PASSPHRASE
4545
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
4646

47-
- name: Clean, build and publish to Apache Maven Central
48-
run: make publish pass=${{ secrets.MAVEN_GPG_PASSPHRASE }}
47+
- name: Publish to Apache Maven Central
48+
run: mvn deploy
4949
env:
5050
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
5151
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}

0 commit comments

Comments
 (0)