Graph Explorer - v10.4.1 #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish release | |
on: | |
release: | |
types: [published] | |
jobs: | |
send_message_job: | |
runs-on: ubuntu-latest | |
name: Publish release | |
steps: | |
- name: Send a message to Microsoft Teams | |
uses: aliencube/[email protected] | |
with: | |
webhook_uri: ${{ secrets.TEAMS_WEBHOOK_URL}} | |
title: New release ${{ github.event.release.name }} from ${{ github.event.repository.name }} | |
summary: A new release (${{ github.event.release.tag_name }}) has been created | |
text: ${{ github.event.release.body }} | |
theme_color: 0000FF | |
actions: '[{"@type": "OpenUri", "name": "View release", "targets": [{ "os": "default", "uri": "${{ github.event.release.html_url }}"}]}]' | |
- name: Send a message to Microsoft Outlook | |
uses: aliencube/[email protected] | |
with: | |
webhook_uri: ${{ secrets.OUTLOOK_WEBHOOK_URL}} | |
title: New release ${{ github.event.release.name }} from ${{ github.event.repository.name }} | |
summary: A new release (${{ github.event.release.tag_name }}) has been created | |
text: ${{ github.event.release.body }} | |
theme_color: 0000FF | |
actions: '[{"@type": "OpenUri", "name": "View release", "targets": [{ "os": "default", "uri": "${{ github.event.release.html_url }}"}]}]' |