Skip to content

Commit

Permalink
Add psptoolchain-extra dispatch
Browse files Browse the repository at this point in the history
Right now this is missing. I'm not sure if this would require us to still set some variables in the github runner settings or if they are already set.
  • Loading branch information
sharkwouter authored Jun 8, 2024
1 parent dde53af commit bd097d7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,21 @@ jobs:
export PATH=$PATH:$PSPDEV/bin
psp-pacman -V
psp-makepkg -V
dispatch:
if: contains(github.ref,'refs/heads/master')
needs: [build, build-VM]
runs-on: ubuntu-latest

steps:
- name: Send Compile action
run: |
export DISPATCH_ACTION="$(echo run_build)"
echo "NEW_DISPATCH_ACTION=$DISPATCH_ACTION" >> $GITHUB_ENV
- name: Repository Dispatch to psptoolchain-extra
uses: peter-evans/repository-dispatch@v3
with:
repository: ${{ github.repository_owner }}/psptoolchain-extra
token: ${{ secrets.DISPATCH_TOKEN }}
event-type: ${{ env.NEW_DISPATCH_ACTION }}
client-payload: '{"ref": "${{ github.ref }}"}'

0 comments on commit bd097d7

Please sign in to comment.