Skip to content

Commit

Permalink
feat: add target workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-timothy-albert committed Jun 20, 2024
1 parent abcae62 commit e192ab5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ type Inputs struct {
Force Force `yaml:"force"`
PushCodeSamplesOnly *PushCodeSamplesOnly `yaml:"push_code_samples_only,omitempty"`
SetVersion *SetVersion `yaml:"set_version,omitempty"`
Target *Target `yaml:"target,omitempty"`
}

type Force struct {
Expand All @@ -190,6 +191,11 @@ type SetVersion struct {
Type string `yaml:"type"`
}

type Target struct {
Description string `yaml:"description"`
Type string `yaml:"type"`
}

func GetDefaultConfig(newSDK bool, getLangDefaultFunc GetLanguageDefaultFunc, langs map[string]bool) (*Configuration, error) {
defaults := GetGenerationDefaults(newSDK)

Expand Down

0 comments on commit e192ab5

Please sign in to comment.