Skip to content

Commit

Permalink
Allow skipping the Go SDK verification when invoking directly (#1080)
Browse files Browse the repository at this point in the history
We can't test Go SDKs for pre-releases because we don't publish the Go
SDKs for them. This is already implemented when invoked via a
workflow_call, but the option wasn't available when using a
workflow_dispatch (manual run).
  • Loading branch information
danielrbradley authored Sep 13, 2024
1 parent 2490813 commit 180aab6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
description: "Enable the MacOS runner in addition to Linux and Windows. Defaults to 'false'."
required: false
type: boolean
skipGoSdk:
description: "Skip the Go SDK verification. Defaults to 'false'. Enable this when verifying a pre-release for which we don't publish the Go SDK (for PRs and the default branch)."
required: false
type: boolean
default: false
workflow_call:
inputs:
providerVersion:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
description: "Enable the MacOS runner in addition to Linux and Windows. Defaults to 'false'."
required: false
type: boolean
skipGoSdk:
description: "Skip the Go SDK verification. Defaults to 'false'. Enable this when verifying a pre-release for which we don't publish the Go SDK (for PRs and the default branch)."
required: false
type: boolean
default: false
workflow_call:
inputs:
providerVersion:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
description: "Enable the MacOS runner in addition to Linux and Windows. Defaults to 'false'."
required: false
type: boolean
skipGoSdk:
description: "Skip the Go SDK verification. Defaults to 'false'. Enable this when verifying a pre-release for which we don't publish the Go SDK (for PRs and the default branch)."
required: false
type: boolean
default: false
workflow_call:
inputs:
providerVersion:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
description: "Enable the MacOS runner in addition to Linux and Windows. Defaults to 'false'."
required: false
type: boolean
skipGoSdk:
description: "Skip the Go SDK verification. Defaults to 'false'. Enable this when verifying a pre-release for which we don't publish the Go SDK (for PRs and the default branch)."
required: false
type: boolean
default: false
workflow_call:
inputs:
providerVersion:
Expand Down

0 comments on commit 180aab6

Please sign in to comment.