Skip to content

finish dispatch to platforms #1

finish dispatch to platforms

finish dispatch to platforms #1

name: Dispatch Updates

Check failure on line 1 in .github/workflows/dispatch-update-platforms.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dispatch-update-platforms.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: dispatch-update-platforms
on:
workflow_call:
inputs:
version:
description: The updated version of core
type: string
required: true
jobs:
dispatch-update-platforms:
name: Dispatch Update Platforms
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- ab_platform_web
- appbuilder_platform_service
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
env:
VERS: ${{ inputs.version }}
with:
token: ${{ secrets.PAT }}
repository: digi-serve/${{ matrix.platform }}
event-type: core_new_version
client-payload: '{"type": "patch", "version": "${{ env.VERS }}"}'