Trigger Remote SDK Generation #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [workflow_dispatch] | |
name: Trigger Remote SDK Generation | |
jobs: | |
# https://blog.marcnuri.com/triggering-github-actions-across-different-repositories | |
# Make sure this is same as in ci.yaml | |
sdk_generate: | |
runs-on: ubuntu-latest | |
name: Trigger Remote SDK builds | |
strategy: | |
matrix: | |
project: | |
- javascript | |
- csharp | |
- python | |
- java | |
- rust | |
- elixir | |
steps: | |
- name: Triggering build SDK - ${{ matrix.node }} | |
run: | | |
curl -X POST https://api.github.com/repos/vrchatapi/vrchatapi-${{ matrix.project }}/dispatches \ | |
-H 'Accept: application/vnd.github.everest-preview+json' \ | |
-u ${{ secrets.ACCESS_TOKEN }} \ | |
--data '{"event_type": "spec_release"}' |