Skip to content

Commit d712935

Browse files
author
childish-sambino
authored
feat: add GitHub release step during deploy (#591)
1 parent c8f3bd0 commit d712935

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

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

+12-5
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ jobs:
5050
with:
5151
fetch-depth: 0
5252

53+
- name: Setup .NET Core SDK
54+
uses: actions/[email protected]
55+
with:
56+
dotnet-version: '3.1.x'
57+
5358
- name: Login to Docker Hub
5459
uses: docker/login-action@v1
5560
with:
@@ -60,14 +65,16 @@ jobs:
6065
- name: Get tagged version
6166
run: echo "GITHUB_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
6267

68+
- name: Create GitHub Release
69+
uses: sendgrid/dx-automator/actions/release@main
70+
with:
71+
footer: '**[NuGet](https://www.nuget.org/packages/Twilio/${version})**'
72+
env:
73+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74+
6375
- name: Build and Push image
6476
run: make docker-build docker-push
6577

66-
- name: Setup .NET Core SDK
67-
uses: actions/[email protected]
68-
with:
69-
dotnet-version: '3.1.x'
70-
7178
- name: Publish package to NuGet
7279
run: |
7380
make release

0 commit comments

Comments
 (0)