Release v24.0.0 #131
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: Microsoft Teams Release Notification | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
notify: | |
name: Notify | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Notify of release | |
uses: aliencube/[email protected] | |
if: ${{ github.event.release.prerelease == false }} | |
with: | |
webhook_uri: ${{ secrets.TEAMS_RELEASES_WEBHOOK }} | |
title: DotNET.SDK ${{ github.event.release.tag_name }} was just released! | |
text: ${{ github.event.release.body }} | |
actions: '[{ "@type": "OpenUri", "name": "View Release Note", "targets": [{ "os": "default", "uri": "${{ github.event.release.html_url }}" }]}]' | |
- name: Notify of prerelease | |
uses: aliencube/[email protected] | |
if: ${{ github.event.release.prerelease == true }} | |
with: | |
webhook_uri: ${{ secrets.TEAMS_PRERELEASES_WEBHOOK }} | |
title: DotNET.SDK ${{ github.event.release.tag_name }} was just released! | |
text: ${{ github.event.release.body }} | |
actions: '[{ "@type": "OpenUri", "name": "View Release Note", "targets": [{ "os": "default", "uri": "${{ github.event.release.html_url }}" }]}]' | |