Beta 18.1 - Python Wheel Fixes #4
Workflow file for this run
This file contains hidden or 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 | |
| # This workflow is called when a new release is published in GitHub. | |
| # Cancel other related workflows in-progress | |
| concurrency: | |
| group: release-publish-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| load-repo: | |
| name: Download GitHub repo | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| announce-release: | |
| runs-on: ubuntu-latest | |
| name: Announce successful release | |
| needs: [load-repo] | |
| steps: | |
| - name: Convert markdown to slack markdown | |
| # https://github.com/LoveToKnow/slackify-markdown-action | |
| uses: LoveToKnow/[email protected] | |
| id: slack-markdown | |
| with: | |
| text: | | |
| ${{ github.ref_name }} New version of OTIO released!. | |
| [Release Notes](https://github.com/AcademySoftwareFoundation/OpenTimelineIO/releases/tag/${{ github.ref_name }}) | |
| - name: 'Slack Notification to #opentimelineio' | |
| # https://github.com/rtCamp/action-slack-notify | |
| uses: rtCamp/action-slack-notify@v2 | |
| env: | |
| SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_RELEASES_URL }} | |
| SLACK_ICON: https://avatars.githubusercontent.com/u/40807682?s=512&v=4 | |
| SLACK_LINK_NAMES: true | |
| SLACK_USERNAME: 'OTIO Release Bot' | |
| SLACK_CHANNEL: 'opentimelineio' | |
| SLACK_COLOR: '#5b53ff' | |
| SLACK_TITLE: 'New OTIO version released!' | |
| SLACK_MESSAGE: | | |
| ${{ steps.slack-markdown.outputs.text }} | |
| SLACK_FOOTER: | | |
| Release Published: ${{ github.ref_name }} | |
| MSG_MINIMAL: true |