Skip to content

Commit 124fdab

Browse files
chore: add gh release to workflow (#138)
* chore: add gh release to workflow
1 parent c06b8c2 commit 124fdab

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/test-and-deploy.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,17 @@ jobs:
5151
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
5252
gpg-passphrase: GPG_PASSPHRASE
5353

54-
- run: mvn install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
54+
- name: Install Dependencies
55+
run: make install
56+
57+
- name: Create GitHub Release
58+
uses: sendgrid/dx-automator/actions/release@main
59+
with:
60+
assets: java-http-client.jar
61+
footer: '**[Maven](https://mvnrepository.com/artifact/com.sendgrid/java-http-client/${version})**'
62+
env:
63+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
5565
- name: Publish to Maven
5666
env:
5767
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

0 commit comments

Comments
 (0)