-
Notifications
You must be signed in to change notification settings - Fork 1
api_function_importgithubactionsartifact
π Looking For Something Else
Looking for legacy
Import-GitHubActionsArtifact? That is moved to here!
π NodeJS Wrapper
This dependents and requires NodeJS to invoke.
π¬ Partial Implementation
This implementation is partial, for more information, please visit https://github.com/hugoalh-studio/ghactions-toolkit-powershell/issues/177.
- Type: Function
- In Version: >= v2.0.0
-
Alias:
Restore-GitHubActionsArtifact
Import artifact that shared from the previous jobs in the current workflow run.
-
# Parameter Set: SingleId (Default, >= v2.1.0) Import-GitHubActionsArtifact [-Id] <UInt64> [-Destination <String>]
-
# Parameter Set: SingleName (Default, < v2.1.0) Import-GitHubActionsArtifact [-Name] <String> [-Destination <String>]
-
# Parameter Set: All Import-GitHubActionsArtifact [-Destination <String>] -All
<Switch> Whether to import all of the artifacts that shared the data from the past jobs in the same workflow; Always create subfolders.
- Parameter Set: All
- Position: Named
- Accept Pipeline Input By Property Name: False β
[Optional] <String> Absolute literal path of the destination of the artifact(s).
-
Parameter Set:
- All
- SingleId
- SingleName
- Position: Named
- Accept Pipeline Input: False β
- Accept Pipeline Input By Property Name: True βοΈ
- Accept Wildcard Characters: False β
-
Alias:
DestPathTarget
(>= v2.1.0) <UInt64> ID of the artifact.
- Parameter Set: SingleId
- Position: 0
- Accept Pipeline Input: True βοΈ
- Accept Pipeline Input By Property Name: True βοΈ
- Accept Wildcard Characters: False β
<String> Name of the artifact.
- Parameter Set: SingleName
- Position: 0
- Accept Pipeline Input: True βοΈ
- Accept Pipeline Input By Property Name: True βοΈ
- Accept Wildcard Characters: False β
π Deprecated
This is officially deprecated, maybe throw warning in the latest version, and maybe remove in the future version.
(< v2.1.0) [Optional] <Switch> Whether to create a sub-directory with artifact name and put the data into there.
- Parameter Set: SingleName
- Position: Named
- Accept Pipeline Input By Property Name: True βοΈ
-
All:
<PSCustomObject[]>Metadata of the imported artifacts.-
(< v2.1.0)
[*].Name:<String>Name of the artifact. -
[*].Path:<String>Absolute path of the destination of the artifact.
-
(< v2.1.0)
-
SingleId:
<PSCustomObject>Metadata of the imported artifact.-
Path:<String>Absolute path of the destination of the artifact.
-
-
SingleName:
<PSCustomObject>Metadata of the imported artifact.-
(< v2.1.0)
Name:<String>Name of the artifact. -
Path:<String>Absolute path of the destination of the artifact.
-
(< v2.1.0)
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π