Skip to content

Commit f8a5921

Browse files
Adds zulip notification step
1 parent 9f5ed79 commit f8a5921

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,14 @@ jobs:
3838
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_IN_MEMORY_KEY_PASSWORD }}
3939
run: |
4040
./gradlew --stacktrace -PMauroSnapshotRepositoryUsername=${{secrets.MAURO_SNAPSHOT_REPOSITORY_USERNAME}} -PMauroSnapshotRepositoryPassword=${{secrets.MAURO_SNAPSHOT_REPOSITORY_PASSWORD}} publishAllPublicationsToMauroSnapshotRepositoryRepository
41+
- name: Send a stream message
42+
if: success() || failure()
43+
uses: zulip/github-actions-zulip/send-message@v1
44+
with:
45+
api-key: ${{ secrets.ZULIP_API_KEY }}
46+
email: "githubactionsbot-bot@maurodatamapper.zulipchat.com"
47+
organization-url: "https://maurodatamapper.zulipchat.com"
48+
to: "build/github-actions"
49+
type: "stream"
50+
topic: "${{github.repository}}"
51+
content: "${{ job.status == 'success' && ':check_mark:' || ':cross_mark:' }} ${{github.repository}} : **${{github.ref}}**\nGitHub Actions build result: **${{ job.status }}**\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"

0 commit comments

Comments
 (0)