File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 pull_request :
66 workflow_call :
77 inputs :
8- spec- artifact :
8+ artifact :
99 description : >-
10- Artifact holding the bundled specification. Only reachable when the
11- caller shares this run; when empty the latest published one is used .
10+ Take the bundle from this run's artifacts rather than the latest
11+ release. Only set it when the caller shares the run .
1212 required : false
13- type : string
14- default : ' '
13+ type : boolean
14+ default : false
1515 ref :
1616 description : Ref of this repository to build.
1717 required : false
@@ -24,13 +24,12 @@ jobs:
2424 build :
2525 runs-on : ubuntu-latest
2626 steps :
27- # This SDK generates through @hey-api/openapi-ts rather than the OpenAPI
28- # generator, so it only needs the checkout and the specification.
29- - uses : vrchatapi/specification/.github/actions/sdk-spec@ci/modernise-actions
27+ - uses : vrchatapi/specification/.github/actions/setup@ci/modernise-actions
3028 with :
3129 repository : vrchatapi/vrchatapi-javascript
3230 ref : ${{ inputs.ref || github.ref }}
33- spec-artifact : ${{ inputs.spec-artifact }}
31+ bundle : openapi.json
32+ artifact : ${{ inputs.artifact }}
3433
3534 - uses : pnpm/action-setup@v6
3635 with :
3938
4039 - run : pnpm install
4140
42- # `prebuild` regenerates src/generated from ./openapi.json, so this both
43- # generates against the specification and type-checks the result.
4441 - run : pnpm build
You can’t perform that action at this time.
0 commit comments