diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 254b209de..3ba6c5c1e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}`}"