build: add failure notification on push
* build: add failure notification on push
* build: fix build
* build: fix build
`kafkaSerializers` is already included transitively via `kafkaAvroSerde`
* Update build.gradle
@@ -26,3 +26,10 @@ jobs:
java-version: 1.8
- name: Gradle build (and test)
run: ./gradlew build
+ - name: Slack failure notification
+ if: failure() && github.event_name == 'push'
+ uses: kpritam/slack-job-status-action@v1
+ with:
+ job-status: ${{ job.status }}
+ slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
+ channel: github-activities
