File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed
Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -171,15 +171,18 @@ jobs:
171171 repo_token : ${{ secrets.GITHUB_TOKEN }}
172172 tag_name : ${{ github.event.inputs.tag_name }}
173173
174- build-unity-loader :
174+ dispatch-loaders-build :
175175 needs : [release]
176- run : |
177- REPO_OWNER="M-CreativeLab"
178- REPO_NAME="jsar-loader-unity"
179- TOKEN="${{ secrets.GITHUB_TOKEN }}"
180- curl -X POST \
181- -H "Authorization: Bearer $TOKEN" \
182- -H "Accept: application/vnd.github.everest-preview+json" \
183- -H "Content-Type: application/json" \
184- https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/dispatches \
185- --data '{"jsar_runtime_version": "${{ inputs.tag_name }}"}'
176+ runs-on : ubuntu-latest
177+ steps :
178+ - name : Dispatch jsar-loader-unity to build
179+ run : |
180+ REPO_OWNER="M-CreativeLab"
181+ REPO_NAME="jsar-loader-unity"
182+ TOKEN="${{ secrets.GITHUB_TOKEN }}"
183+ curl -X POST \
184+ -H "Authorization: Bearer $TOKEN" \
185+ -H "Accept: application/vnd.github.everest-preview+json" \
186+ -H "Content-Type: application/json" \
187+ https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/dispatches \
188+ --data '{"jsar_runtime_version": "${{ inputs.tag_name }}"}'
You can’t perform that action at this time.
0 commit comments