- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1
 
api_function_getgithubactionsinput
        hugoalh edited this page Dec 27, 2023 
        ·
        7 revisions
      
    - Type: Function
 - In Version: >= v0.3.0
 
Get input.
- 
# Parameter Set: One (Default) Get-GitHubActionsInput [-Name] <String> [-Mandatory] [-MandatoryMessage <String>] [-Trim]
 - 
# Parameter Set: All Get-GitHubActionsInput -All [-Trim]
 - 
# Parameter Set: Prefix Get-GitHubActionsInput -NamePrefix <String> [-Trim]
 - 
# Parameter Set: Suffix Get-GitHubActionsInput -NameSuffix <String> [-Trim]
 
<Switch> Whether to get all of the inputs.
- Parameter Set: All
 - Position: Named
 - Accept Pipeline Input By Property Name: False β
 
[Optional] <Switch> Whether the input is mandatory; If mandatory but not exist, will throw an error.
- Parameter Set: One
 - Position: Named
 - Accept Pipeline Input By Property Name: False β
 - 
Alias:
RequireRequired
 
[Optional] <String> Message when the input is mandatory but not exist; Placeholder {0} will represent current input name.
- Parameter Set: One
 - 
Default Value:
'Input `{0}` is not defined!' #=> Input `foo_bar` is not defined!
 - Position: Named
 - Accept Pipeline Input: False β
 - Accept Pipeline Input By Property Name: False β
 - Accept Wildcard Characters: False β
 - 
Alias:
RequiredMessageRequireMessage
 
<String> Name of the input.
- Parameter Set: One
 - Position: 0
 - Accept Pipeline Input: False β
 - Accept Pipeline Input By Property Name: False β
 - Accept Wildcard Characters: False β
 - 
Alias:
Key
 
<String> Name of the inputs start with.
- Parameter Set: Prefix
 - Position: Named
 - Accept Pipeline Input: False β
 - Accept Pipeline Input By Property Name: False β
 - Accept Wildcard Characters: False β
 - 
Alias:
KeyPrefixKeyStartWithNameStartWithPrefixPrefixKeyPrefixNameStartWithStartWithKeyStartWithName
 
<String> Name of the inputs end with.
- Parameter Set: Suffix
 - Position: Named
 - Accept Pipeline Input: False β
 - Accept Pipeline Input By Property Name: False β
 - Accept Wildcard Characters: False β
 - 
Alias:
EndWithEndWithKeyEndWithNameKeyEndWithKeySuffixNameEndWithSuffixSuffixKeySuffixName
 
[Optional] <Switch> Whether to trim the value of the input(s).
- 
Parameter Set:
- All
 - One
 - Prefix
 - Suffix
 
 - Position: Named
 - Accept Pipeline Input By Property Name: False β
 
π Deprecated
This is officially deprecated, maybe throw warning in the latest version, and maybe remove in the future version.
(< v2.0.0) [Optional] <Switch> Whether to assume empty string value of the input(s) as $Null.
- 
Parameter Set:
- All
 - One
 - Prefix
 - Suffix
 
 - Position: Named
 - Accept Pipeline Input By Property Name: False β
 - 
Alias:
AssumeEmptyStringAsNull
 
- 
All: 
<Hashtable>Inputs. - 
One: 
<String>Value of the input. - 
Prefix: 
<Hashtable>Inputs. - 
Suffix: 
<Hashtable>Inputs. 
Add-GitHubActionsPATHAdd-GitHubActionsProblemMatcherAdd-GitHubActionsSecretMaskAdd-GitHubActionsSummaryAdd-GitHubActionsSummaryHeaderAdd-GitHubActionsSummaryImageAdd-GitHubActionsSummaryLinkAdd-GitHubActionsSummarySubscriptTextAdd-GitHubActionsSummarySuperscriptTextClear-GitHubActionsEnvironmentVariableClear-GitHubActionsFileCommandClear-GitHubActionsOutputClear-GitHubActionsPATHClear-GitHubActionsStateClear-GitHubActionsSummaryConvertFrom-GitHubActionsCsvMConvertFrom-GitHubActionsCsvSDisable-GitHubActionsStdOutCommandEchoDisable-GitHubActionsStdOutCommandProcessEnable-GitHubActionsStdOutCommandEchoEnable-GitHubActionsStdOutCommandProcessEnter-GitHubActionsLogGroupExit-GitHubActionsLogGroupExpand-GitHubActionsToolCacheCompressedFileExport-GitHubActionsArtifactFind-GitHubActionsToolCacheFormat-GitHubActionsMarkdownGet-GitHubActionsArtifactGet-GitHubActionsDebugStatusGet-GitHubActionsInputGet-GitHubActionsOpenIdConnectTokenGet-GitHubActionsStateGet-GitHubActionsSummaryGet-GitHubActionsWebhookEventPayloadGet-GitHubActionsWorkflowRunUriImport-GitHubActionsArtifactInvoke-GitHubActionsToolCacheToolDownloaderRegister-GitHubActionsToolCacheDirectoryRegister-GitHubActionsToolCacheFileRemove-GitHubActionsProblemMatcherRestore-GitHubActionsCacheSave-GitHubActionsCacheSet-GitHubActionsEnvironmentVariableSet-GitHubActionsOutputSet-GitHubActionsStateSet-GitHubActionsSummaryTest-GitHubActionsEnvironmentWrite-GitHubActionsDebugWrite-GitHubActionsErrorWrite-GitHubActionsFailWrite-GitHubActionsFileCommandWrite-GitHubActionsNoticeWrite-GitHubActionsStdOutCommandWrite-GitHubActionsWarningAdd-GitHubActionsStepSummaryπAdd-GitHubActionsStepSummaryHeaderπAdd-GitHubActionsStepSummaryImageπAdd-GitHubActionsStepSummaryLinkπAdd-GitHubActionsStepSummarySubscriptTextπAdd-GitHubActionsStepSummarySuperscriptTextπClear-GitHubActionsStepSummaryπGet-GitHubActionsStepSummaryπSet-GitHubActionsStepSummaryπTest-GitHubActionsNodeJsEnvironmentπWrite-GitHubActionsAnnotationπWrite-GitHubActionsRawπ
Add-GitHubActionsMaskAdd-GitHubActionsSecretAdd-GitHubActionsSummaryHyperlinkAdd-GitHubActionsSummaryPictureAdd-GitHubActionsSummaryRawAdd-GitHubActionsSummarySubscriptAdd-GitHubActionsSummarySuperscriptClear-GitHubActionsEnvDisable-GitHubActionsCommandEchoDisable-GitHubActionsCommandProcessEnable-GitHubActionsCommandEchoEnable-GitHubActionsCommandProcessEnter-GitHubActionsGroupExit-GitHubActionsGroupExpand-GitHubActionsToolCacheArchiveExport-GitHubActionsCacheGet-GitHubActionsEventGet-GitHubActionsEventPayloadGet-GitHubActionsIsDebugGet-GitHubActionsOidcTokenGet-GitHubActionsPayloadGet-GitHubActionsWebhookEventGet-GitHubActionsWebhookPayloadGet-GitHubActionsWorkflowRunUrlImport-GitHubActionsCacheRemove-GitHubActionsEnvRemove-GitHubActionsEnvironmentVariableRemove-GitHubActionsFileCommandRemove-GitHubActionsOutputRemove-GitHubActionsPATHRemove-GitHubActionsStateRemove-GitHubActionsSummaryRestore-GitHubActionsArtifactRestore-GitHubActionsStateResume-GitHubActionsCommandProcessResume-GitHubActionsStdOutCommandProcessSave-GitHubActionsArtifactSave-GitHubActionsStateSet-GitHubActionsEnvStart-GitHubActionsCommandEchoStart-GitHubActionsCommandProcessStart-GitHubActionsStdOutCommandEchoStart-GitHubActionsStdOutCommandProcessStop-GitHubActionsCommandEchoStop-GitHubActionsCommandProcessStop-GitHubActionsStdOutCommandEchoStop-GitHubActionsStdOutCommandProcessSuspend-GitHubActionsCommandProcessSuspend-GitHubActionsStdOutCommandProcessWrite-GitHubActionsCommandWrite-GitHubActionsNoteWrite-GitHubActionsWarnAdd-GitHubActionsStepSummaryHyperlinkπAdd-GitHubActionsStepSummaryPictureπAdd-GitHubActionsStepSummaryRawπAdd-GitHubActionsStepSummarySubscriptπAdd-GitHubActionsStepSummarySuperscriptπRemove-GitHubActionsStepSummaryπSet-GitHubActionsEnvironmentπ