diff --git a/.github/workflows/platform_generate.yaml b/.github/workflows/platform_generate.yaml index 26d8ed0f1..0b0ab5cc8 100644 --- a/.github/workflows/platform_generate.yaml +++ b/.github/workflows/platform_generate.yaml @@ -6,15 +6,20 @@ name: Generate Platform library description: Force generation of SDKs type: boolean default: false + set_version: + description: Optionally set a specific SDK version. + type: string jobs: generate: uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 with: mode: pr - speakeasy_version: latest force: ${{ github.event.inputs.force }} + speakeasy_version: latest + set_version: ${{ github.event.inputs.set_version }} target: platform-library secrets: github_access_token: ${{ secrets.GITHUB_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + npm_token: ${{ secrets.NPM_TOKEN }}