Skip to content

Commit

Permalink
Add dispatch to ps2homebrew docker image, update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AKuHAK committed Nov 27, 2022
1 parent 0fafc5c commit bfc8619
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/dispatcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ jobs:
build:
strategy:
matrix:
repo: ['wlaunchELF', 'Open-PS2-Loader', 'isjpcm', 'Fceumm-PS2']
repo: ["ps2homebrew", "wlaunchELF", "Open-PS2-Loader", "isjpcm", "Fceumm-PS2"]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- 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@v1
with:
repository: ${{ github.repository_owner }}/${{ matrix.repo }}
token: ${{ secrets.DISPATCH_TOKEN }}
event-type: ${{ env.NEW_DISPATCH_ACTION }}
client-payload: '{"ref": "${{ github.ref }}"}'
- 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 }}"}'

0 comments on commit bfc8619

Please sign in to comment.