Downstream version bump #87
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
# When a new release is created on GitHub, this workflow sends an event | |
# to cross-platform SDK repos that depend on native Android SDK | |
name: Downstream version bump | |
on: | |
# Triggered when a new release is tagged in GitHub. | |
release: | |
types: [ released ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
dispatch: | |
strategy: | |
matrix: | |
repo: [ | |
'radarlabs/react-native-radar', | |
'radarlabs/capacitor-radar', | |
'radarlabs/flutter-radar', | |
'radarlabs/radar-sdk-xamarin', | |
'radarlabs/cordova-plugin-radar', | |
] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dispatch to downtream SDKs | |
uses: peter-evans/repository-dispatch@v2 | |
with: | |
token: ${{ secrets.RADAR_CIRCLECI_PAT }} | |
repository: ${{ matrix.repo }} | |
event-type: android-sdk-release | |
client-payload: '{"release": "${{ github.event.release.tag_name }}", "platform": "android"}' |