-
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:
Dest
Path
Target
(>= 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-GitHubActionsPATH
Add-GitHubActionsProblemMatcher
Add-GitHubActionsSecretMask
Add-GitHubActionsSummary
Add-GitHubActionsSummaryHeader
Add-GitHubActionsSummaryImage
Add-GitHubActionsSummaryLink
Add-GitHubActionsSummarySubscriptText
Add-GitHubActionsSummarySuperscriptText
Clear-GitHubActionsEnvironmentVariable
Clear-GitHubActionsFileCommand
Clear-GitHubActionsOutput
Clear-GitHubActionsPATH
Clear-GitHubActionsState
Clear-GitHubActionsSummary
ConvertFrom-GitHubActionsCsvM
ConvertFrom-GitHubActionsCsvS
Disable-GitHubActionsStdOutCommandEcho
Disable-GitHubActionsStdOutCommandProcess
Enable-GitHubActionsStdOutCommandEcho
Enable-GitHubActionsStdOutCommandProcess
Enter-GitHubActionsLogGroup
Exit-GitHubActionsLogGroup
Expand-GitHubActionsToolCacheCompressedFile
Export-GitHubActionsArtifact
Find-GitHubActionsToolCache
Format-GitHubActionsMarkdown
Get-GitHubActionsArtifact
Get-GitHubActionsDebugStatus
Get-GitHubActionsInput
Get-GitHubActionsOpenIdConnectToken
Get-GitHubActionsState
Get-GitHubActionsSummary
Get-GitHubActionsWebhookEventPayload
Get-GitHubActionsWorkflowRunUri
Import-GitHubActionsArtifact
Invoke-GitHubActionsToolCacheToolDownloader
Register-GitHubActionsToolCacheDirectory
Register-GitHubActionsToolCacheFile
Remove-GitHubActionsProblemMatcher
Restore-GitHubActionsCache
Save-GitHubActionsCache
Set-GitHubActionsEnvironmentVariable
Set-GitHubActionsOutput
Set-GitHubActionsState
Set-GitHubActionsSummary
Test-GitHubActionsEnvironment
Write-GitHubActionsDebug
Write-GitHubActionsError
Write-GitHubActionsFail
Write-GitHubActionsFileCommand
Write-GitHubActionsNotice
Write-GitHubActionsStdOutCommand
Write-GitHubActionsWarning
Add-GitHubActionsStepSummary
πAdd-GitHubActionsStepSummaryHeader
πAdd-GitHubActionsStepSummaryImage
πAdd-GitHubActionsStepSummaryLink
πAdd-GitHubActionsStepSummarySubscriptText
πAdd-GitHubActionsStepSummarySuperscriptText
πClear-GitHubActionsStepSummary
πGet-GitHubActionsStepSummary
πSet-GitHubActionsStepSummary
πTest-GitHubActionsNodeJsEnvironment
πWrite-GitHubActionsAnnotation
πWrite-GitHubActionsRaw
π
Add-GitHubActionsMask
Add-GitHubActionsSecret
Add-GitHubActionsSummaryHyperlink
Add-GitHubActionsSummaryPicture
Add-GitHubActionsSummaryRaw
Add-GitHubActionsSummarySubscript
Add-GitHubActionsSummarySuperscript
Clear-GitHubActionsEnv
Disable-GitHubActionsCommandEcho
Disable-GitHubActionsCommandProcess
Enable-GitHubActionsCommandEcho
Enable-GitHubActionsCommandProcess
Enter-GitHubActionsGroup
Exit-GitHubActionsGroup
Expand-GitHubActionsToolCacheArchive
Export-GitHubActionsCache
Get-GitHubActionsEvent
Get-GitHubActionsEventPayload
Get-GitHubActionsIsDebug
Get-GitHubActionsOidcToken
Get-GitHubActionsPayload
Get-GitHubActionsWebhookEvent
Get-GitHubActionsWebhookPayload
Get-GitHubActionsWorkflowRunUrl
Import-GitHubActionsCache
Remove-GitHubActionsEnv
Remove-GitHubActionsEnvironmentVariable
Remove-GitHubActionsFileCommand
Remove-GitHubActionsOutput
Remove-GitHubActionsPATH
Remove-GitHubActionsState
Remove-GitHubActionsSummary
Restore-GitHubActionsArtifact
Restore-GitHubActionsState
Resume-GitHubActionsCommandProcess
Resume-GitHubActionsStdOutCommandProcess
Save-GitHubActionsArtifact
Save-GitHubActionsState
Set-GitHubActionsEnv
Start-GitHubActionsCommandEcho
Start-GitHubActionsCommandProcess
Start-GitHubActionsStdOutCommandEcho
Start-GitHubActionsStdOutCommandProcess
Stop-GitHubActionsCommandEcho
Stop-GitHubActionsCommandProcess
Stop-GitHubActionsStdOutCommandEcho
Stop-GitHubActionsStdOutCommandProcess
Suspend-GitHubActionsCommandProcess
Suspend-GitHubActionsStdOutCommandProcess
Write-GitHubActionsCommand
Write-GitHubActionsNote
Write-GitHubActionsWarn
Add-GitHubActionsStepSummaryHyperlink
πAdd-GitHubActionsStepSummaryPicture
πAdd-GitHubActionsStepSummaryRaw
πAdd-GitHubActionsStepSummarySubscript
πAdd-GitHubActionsStepSummarySuperscript
πRemove-GitHubActionsStepSummary
πSet-GitHubActionsEnvironment
π