Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonhunt02 authored Jan 29, 2025
1 parent 751d42c commit 13ce0e4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -392,3 +392,23 @@ jobs:
asset_path: ./v-sekai-godot-${{ matrix.platform }}.zip
asset_name: v-sekai-godot-${{ matrix.platform }}.zip
asset_content_type: application/zip

dispatch:
name: Dispatch build message
needs: upload-releases
env:
REPO_TOKEN: ${{ secrets.REPO_DISPATCH }}
runs-on: ubuntu-latest
strategy:
matrix:
repo: ['V-Sekai/v-sekai-game']
steps:
- name: Dispatch to workflow
run: |
echo "Send build message to ${{ matrix.repo }}..."
curl -v -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${REPO_TOKEN}" \
--data '{ "event_type": "build-ready", "client_payload": {} }' \
https://api.github.com/repos/${{ matrix.repo }}/dispatches

0 comments on commit 13ce0e4

Please sign in to comment.