File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2121 name : Generate VRChat API SDK
2222 env :
2323 ARTIFACT_NAME : " openapi.json"
24- INPUT : ${{ github.event_name == 'repository_dispatch' && github.event.client_payload || inputs.json }}
25- SPEC_URL : ${{ fromJSON (github.event_name == 'repository_dispatch' && github.event.client_payload || inputs.json)['artifacts']['openapi.json'] }}
26- PASSED_VERSION : ${{ fromJSON (github.event_name == 'repository_dispatch' && github.event.client_payload || inputs.json)['version'] }}
24+ INPUT : ${{ github.event_name == 'repository_dispatch' && toJSON( github.event.client_payload) || inputs.json }}
25+ SPEC_URL : ${{ (github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON( inputs.json) )['artifacts']['openapi.json'] }}
26+ PASSED_VERSION : ${{ (github.event_name == 'repository_dispatch' && github.event.client_payload || fromJSON( inputs.json) )['version'] }}
2727 VERSION_POSTPEND : ${{ github.event_name == 'workflow_dispatch' && inputs.version_postfix || '' }}
2828 steps :
2929 - uses : actions/setup-node@v4
4949 - name : Install Rustup toolchain
5050 uses : moonrepo/setup-rust@v1
5151 - name : Download Specification
52- run : wget "${SPEC_URL}"
52+ run : wget "${SPEC_URL}" '--output-document' "${ARTIFACT_NAME}"
5353 - name : Check version number
5454 run : |
5555 set -euo pipefail
You can’t perform that action at this time.
0 commit comments