Skip to content

Commit

Permalink
ANDROID-13642 Notify new release in Teams (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmartinbTEF authored Oct 25, 2023
1 parent a53c368 commit 01ec87b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,13 @@ jobs:
run: "bash ./gradlew :library:publishReleasePublicationToSonatypeRepository -DLIBRARY_VERSION=${{ github.event.release.tag_name }}
:catalog:publishCatalogPublicationToSonatypeRepository -DLIBRARY_VERSION=${{ github.event.release.tag_name }}
--max-workers 1 closeAndReleaseStagingRepository"

- name: Microsoft Teams Notification
uses: skitionek/notify-microsoft-teams@master
if: success()
with:
webhook_url: ${{ secrets.ANDROID_LIBRARIES_TEAMS_WEBHOOK }}
needs: ${{ toJson(needs) }}
job: ${{ toJson(job) }}
steps: ${{ toJson(steps) }}
overwrite: "{title: `New Mistica version published ${{ github.event.release.tag_name }}`, text:`Release Notes:\n ${{ github.event.release.body }}`}"

0 comments on commit 01ec87b

Please sign in to comment.