From a12b041cd421a1abccd0bf052ef727a4efda6f28 Mon Sep 17 00:00:00 2001 From: David Cheung Date: Wed, 7 Sep 2022 18:59:14 -0400 Subject: [PATCH] fix: npm release package name param changed --- .github/workflows/publish-clients.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-clients.yml b/.github/workflows/publish-clients.yml index 47bfa20..df45a8b 100644 --- a/.github/workflows/publish-clients.yml +++ b/.github/workflows/publish-clients.yml @@ -13,14 +13,14 @@ jobs: - uses: actions/checkout@v2 - name: Generate client + # -p properties https://openapi-generator.tech/docs/generators/typescript run: | docker run --rm -v ${GITHUB_WORKSPACE}:/local openapitools/openapi-generator:cli-5.3.x \ generate -i /local/api/notification-service.yaml \ -g typescript \ -o /local/client \ - -p projectName="@commitdev/zero-notification-service-client" \ - -p projectDescription="Generated client for zero-notification-service" \ - -p projectVersion="${{ github.event.release.tag_name }}" \ + -p npmName="@commitdev/zero-notification-service-client" \ + -p npmVersion="${{ github.event.release.tag_name }}" \ -p moduleName="NotificationService" sudo chmod -R a+rw ${GITHUB_WORKSPACE}