Skip to content

run_build

run_build #702

Workflow file for this run

name: CI-Dispatch
on:
push:
branches:
- master
repository_dispatch:
types: [run_build]
jobs:
build:
strategy:
matrix:
repo: ["ps2homebrew", "wlaunchELF", "Open-PS2-Loader", "isjpcm", "Fceumm-PS2"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Send Compile action
run: |
export DISPATCH_ACTION="$(echo run_build)"
echo "NEW_DISPATCH_ACTION=$DISPATCH_ACTION" >> $GITHUB_ENV
- name: Dispatch to organization repositories
uses: peter-evans/repository-dispatch@v2
with:
repository: ${{ github.repository_owner }}/${{ matrix.repo }}
token: ${{ secrets.DISPATCH_TOKEN }}
event-type: ${{ env.NEW_DISPATCH_ACTION }}
client-payload: '{"ref": "${{ github.ref }}"}'