mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-07 04:20:43 +00:00
Update build-typescript-sdk.yml
This commit is contained in:
3
.github/workflows/build-typescript-sdk.yml
vendored
3
.github/workflows/build-typescript-sdk.yml
vendored
@@ -36,7 +36,6 @@ jobs:
|
|||||||
id: buildTS
|
id: buildTS
|
||||||
run: |
|
run: |
|
||||||
cd sdk-ts
|
cd sdk-ts
|
||||||
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.3.0/openapi-generator-cli-6.3.0.jar -O openapi-generator-cli.jar
|
|
||||||
rm -rf plexjs/
|
rm -rf plexjs/
|
||||||
java -jar openapi-generator-cli.jar generate -i ../referenced/plex-api-spec.yaml -g typescript-axios -o plexjs/ --global-property skipFormModel=false --config config.yaml
|
java -jar openapi-generator-cli.jar generate -i ../referenced/plex-api-spec.yaml -g typescript-axios -o plexjs/ --global-property skipFormModel=false --config config.yaml
|
||||||
|
|
||||||
@@ -44,7 +43,7 @@ jobs:
|
|||||||
id: buildSDK
|
id: buildSDK
|
||||||
if: steps.buildTS.outcome == 'success'
|
if: steps.buildTS.outcome == 'success'
|
||||||
run: |
|
run: |
|
||||||
cd sdk-ts
|
cd sdk-ts/plexjs
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user