Skip to content

Commit 9ca89c8

Browse files
chore: add gh release to workflow (#716)
* chore: add gh release to workflow
1 parent 99028ba commit 9ca89c8

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
@@ -45,7 +45,17 @@ jobs:
4545
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
4646
gpg-passphrase: GPG_PASSPHRASE
4747

48-
- run: mvn install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
48+
- name: Install dependencies and Build Release Artifacts
49+
run: make install
50+
51+
- name: Create GitHub Release
52+
uses: sendgrid/dx-automator/actions/release@main
53+
with:
54+
assets: sendgrid-java.jar
55+
footer: '**[Maven](https://mvnrepository.com/artifact/com.sendgrid/sendgrid-java/${version})**'
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+
4959
- name: Publish to Maven
5060
env:
5161
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

0 commit comments

Comments
 (0)