Skip to content

Commit a2d23b6

Browse files
Update .github/workflows/ci.yaml
Co-authored-by: C0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com>
1 parent 23f3cca commit a2d23b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
name: Generate VRChat API SDK
2222
env:
2323
ARTIFACT_NAME: "openapi.yaml"
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-legacy.yaml'] }}
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-legacy.yaml'] }}
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@v3

0 commit comments

Comments
 (0)