Skip to content

Commit d7d98ba

Browse files
authored
ci: add versioning for node-sdk genarator (#2913)
1 parent 607ed90 commit d7d98ba

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/sdk-generator.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ name: Generate Client SDKs from OpenAPI
33
on:
44
release:
55
types: [published]
6-
workflow_dispatch:
6+
workflow_dispatch:
7+
inputs:
8+
version:
9+
description: "Optional release tag to forward to SDK workflows that need explicit versioning, for example v1.6.9"
10+
required: false
11+
type: string
712

813
jobs:
914
build:
@@ -56,3 +61,4 @@ jobs:
5661
repo: Permify/permify-node
5762
ref: main
5863
token: "${{ secrets.SDK_GH_TOKEN }}"
64+
inputs: '{ "version": "${{ github.event.release.tag_name || inputs.version }}" }'

0 commit comments

Comments
 (0)