mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-06 12:37:45 +00:00
Update build-typescript-sdk.yml
This commit is contained in:
9
.github/workflows/build-typescript-sdk.yml
vendored
9
.github/workflows/build-typescript-sdk.yml
vendored
@@ -32,15 +32,16 @@ jobs:
|
||||
with:
|
||||
node-version: "16"
|
||||
|
||||
- name: Build TS SDK
|
||||
id: buildTS
|
||||
- name: Build PMS
|
||||
id: buildPMS
|
||||
run: |
|
||||
cd sdk-ts
|
||||
rm -rf plexjs/pms
|
||||
java -jar openapi-generator-cli.jar generate -i ../pms/pms-spec.yaml -g typescript-axios -o plexjs/pms --global-property skipFormModel=false --config sdk-resources/pms-config.yaml
|
||||
|
||||
- name: Build TS SDK
|
||||
id: buildTS
|
||||
id: buildPTV
|
||||
if: steps.buildPMS.outcome == 'success'
|
||||
run: |
|
||||
cd sdk-ts
|
||||
rm -rf plexjs/plextv
|
||||
@@ -48,7 +49,7 @@ jobs:
|
||||
|
||||
- name: Run npm install and build Typescript SDK
|
||||
id: buildSDK
|
||||
if: steps.buildTS.outcome == 'success'
|
||||
if: steps.buildPTV.outcome == 'success'
|
||||
run: |
|
||||
cd sdk-ts/plexjs
|
||||
npm install
|
||||
|
||||
Reference in New Issue
Block a user