Notify other repositories of a new version available on npm #4
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: Notify other repositories of a new version available on npm | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: 'Version' | |
required: true | |
repository_dispatch: | |
types: [ new_version_available_on_npm ] | |
# another repository is notified in 'upload-demo-archive-and-trigger-examples-repository-update.yml' | |
jobs: | |
notify: | |
runs-on: ubuntu-22.04 | |
env: | |
VERSION: ${{ github.event.client_payload.version || inputs.version }} | |
strategy: | |
matrix: | |
repository: | |
- bpmn-visualization-R | |
steps: | |
# Need to checkout to access to the internal action | |
- uses: actions/checkout@v4 | |
- name: Notify that a new bpmn-visualization version is available | |
uses: ./.github/actions/notify-PA-repo-of-new-version | |
with: | |
PA_REPOSITORY: ${{ matrix.repository }} | |
TOKEN: ${{ secrets.GH_RELEASE_TOKEN }} | |
VERSION: ${{ env.VERSION }} | |