Skip to content

Commit

Permalink
Dispatch pspsdk build upon changes to master
Browse files Browse the repository at this point in the history
Somehow this was missing. I don't know how our scheduled runs are working, but they are happening and reach the pspdev/pspdev level, so something it wrong there too.
  • Loading branch information
sharkwouter authored May 15, 2024
1 parent 2205dc8 commit 0f4a53a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@ jobs:
build-args: |
BASE_DOCKER_ALLEGREX_IMAGE=ghcr.io/${{ github.repository_owner }}/psptoolchain-allegrex:${{ env.DOCKER_TAG }}
BASE_DOCKER_EXTRA_IMAGE=ghcr.io/${{ github.repository_owner }}/psptoolchain-extra:${{ env.DOCKER_TAG }}
- name: Send Compile action
run: |
export DISPATCH_ACTION="$(echo run_build)"
echo "NEW_DISPATCH_ACTION=$DISPATCH_ACTION" >> $GITHUB_ENV
- name: Repository Dispatch to pspsdk
uses: peter-evans/repository-dispatch@v3
with:
repository: ${{ github.repository_owner }}/pspsdk
token: ${{ secrets.DISPATCH_TOKEN }}
event-type: ${{ env.NEW_DISPATCH_ACTION }}
client-payload: '{"ref": "${{ github.ref }}"}'

0 comments on commit 0f4a53a

Please sign in to comment.