Skip to content

Trigger Remote SDK Generation #31

Trigger Remote SDK Generation

Trigger Remote SDK Generation #31

Workflow file for this run

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"}'