Skip to content

Commit

Permalink
Update Build the API client step
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoushha authored Jan 20, 2025
1 parent 0947814 commit 7fdca78
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/PublishRestApiClient.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Publish REST API Client
on:
push:
branches: [ master ]
paths:
- repo/rest-api/src/RouteHandlers/openapi.json
branches: [ build-rest-api-client-action ]
jobs:
build-and-publish-api-client:
runs-on: ubuntu-latest
Expand All @@ -25,7 +23,7 @@ jobs:
options: -v ${{ github.workspace }}:/local -w /local
run: |
/usr/local/bin/docker-entrypoint.sh generate \
-i openapi-dereferenced.json \
-i repo/rest-api/src/RouteHandlers/openapi.json \
-g javascript \
-o api-client \
--additional-properties=usePromises=true \
Expand Down

0 comments on commit 7fdca78

Please # to comment.