Skip to content

Commit

Permalink
add teams webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
unglaublicherdude committed Jul 21, 2023
1 parent 8e6a587 commit f285fa6
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci-dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- "dotnet/**"
- ".github/workflows/ci-dotnet.yaml"
workflow_dispatch:

jobs:
build-dotnet:
name: Build & Test C# SDK
Expand All @@ -33,7 +33,7 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Install dependencies
run: dotnet restore
run: dotnet res
working-directory: dotnet/Vaas

- name: extract version
Expand Down Expand Up @@ -98,3 +98,12 @@ jobs:
NUGET_FEED: https://api.nuget.org/v3/index.json
run: dotnet nuget push src/Vaas/bin/Release/*.nupkg --skip-duplicate --source $NUGET_FEED --api-key $NUGET_KEY
working-directory: dotnet/Vaas

- name: Microsoft Teams Notification
uses: skitionek/notify-microsoft-teams@master
if: failure()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
needs: ${{ toJson(needs) }}
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}

0 comments on commit f285fa6

Please sign in to comment.