Skip to content

Commit 2122aba

Browse files
committed
Update push code samples in generation action
1 parent e4cfab1 commit 2122aba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/sdk_generation.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ name: Generate
66
description: Force generation of SDKs
77
type: boolean
88
default: false
9+
push_code_samples_only:
10+
description: Force push only code samples from SDK generation
11+
type: boolean
12+
default: false
913
set_version:
1014
description: optionally set a specific SDK version
1115
type: string
@@ -20,6 +24,7 @@ jobs:
2024
with:
2125
force: ${{ github.event.inputs.force }}
2226
mode: pr
27+
push_code_samples_only: ${{ fromJSON(github.event.inputs.push_code_samples_only != '' && github.event.inputs.push_code_samples_only || 'false') }}
2328
set_version: ${{ github.event.inputs.set_version }}
2429
speakeasy_version: latest
2530
target: ${{ github.event.inputs.target }}

0 commit comments

Comments
 (0)