Skip to content

Commit be01d8b

Browse files
authored
Update maven.yml
1 parent 42c6c2d commit be01d8b

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/maven.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,21 @@ jobs:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
3636
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3737
run: mvn -U -B test verify
38+
39+
# Build Failure Notification
40+
notify:
41+
needs: [build]
42+
if: failure() && github.ref == 'refs/heads/main'
43+
uses: embabel/embabel-build/.github/workflows/discord-notify.yml@main
44+
secrets: inherit
45+
46+
# Build Sucess Notification
47+
notify-recovery:
48+
needs: [build]
49+
if: success() && github.ref == 'refs/heads/main'
50+
uses: embabel/embabel-build/.github/workflows/notify-recovery.yml@main
51+
with:
52+
branch: main
53+
caller_run_id: ${{ github.run_id }}
54+
secrets: inherit
55+

0 commit comments

Comments
 (0)