We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e89d34f commit f4a8783Copy full SHA for f4a8783
.github/workflows/publish.yml
@@ -35,6 +35,15 @@ jobs:
35
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
36
run: dotnet nuget push "./nupkg/*.nupkg" --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json --skip-duplicate
37
38
+ - name: Notify Slack
39
+ if: success()
40
+ env:
41
+ SLACK_WEBHOOKS_URL: ${{ secrets.SLACK_WEBHOOKS_URL }}
42
+ run: |
43
+ curl -X POST -H 'Content-type: application/json' --data '{
44
+ "text": "📦 NuGet package version *${{ env.new_build }}* has been published to NuGet Packages."
45
+ }' $SLACK_WEBHOOKS_URL
46
+
47
- name: Push to GitHub NuGet
48
env:
49
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments