File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,10 +22,11 @@ jobs:
2222 repository : vrchatapi/vrchatapi-csharp
2323 ref : ${{ inputs.ref || github.ref }}
2424
25- - uses : vrchatapi/specification/.github/actions/setup@ci/modernise-actions
25+ - uses : vrchatapi/specification/.github/actions/generator@ci/modernise-actions
26+
27+ - uses : vrchatapi/specification/.github/actions/bundle@ci/modernise-actions
2628 with :
2729 bundle : openapi-legacy.yaml
28- generator : 7.17.0
2930
3031 - uses : actions/setup-dotnet@v6
3132 with :
Original file line number Diff line number Diff line change 2626 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 :
29- - uses : actions/setup-node@v7
30- with :
31- node-version : 24
32-
3329 - uses : actions/checkout@v7
34- - name : ' Cache node_modules'
35- uses : actions/cache@v6
36- with :
37- path : node_modules
38- key : ${{ runner.os }}-node-v22-${{ hashFiles('**/generate.sh') }}
39- restore-keys : |
40- ${{ runner.os }}-node-v22
41-
42- - name : Install OpenAPI Generator CLI
43- run : npm install @openapitools/openapi-generator-cli
44-
45- - name : Set OpenAPI Generator version
46- run : ./node_modules/\@openapitools/openapi-generator-cli/main.js version-manager set 7.17.0
30+ - uses : vrchatapi/specification/.github/actions/generator@ci/modernise-actions
4731
4832 - name : Setup NuGet
4933 uses : NuGet/setup-nuget@v4.0
Original file line number Diff line number Diff line change 88
99rm src docs * .nupkg * .snupkg -rf
1010
11- ./node_modules/ \@ openapitools/ openapi-generator-cli/main.js generate \
11+ openapi-generator generate \
1212-g csharp \
1313-t ./templates \
1414--library httpclient \
Original file line number Diff line number Diff line change 11{
2- "$schema" : " node_modules/@openapitools/openapi-generator-cli/config.schema.json" ,
32 "spaces" : 2 ,
43 "generator-cli" : {
54 "version" : " 7.17.0"
You can’t perform that action at this time.
0 commit comments