-
Notifications
You must be signed in to change notification settings - Fork 1
legacy_api_function_exportgithubactionsartifact
π Deprecated
This is officially deprecated, maybe throw warning in the latest version, and maybe remove in the future version.
π NodeJS Wrapper
This dependents and requires NodeJS to invoke.
- Type: Function
- In Version: v0.5.0 ~ v1.7.X
-
Alias:
Save-GitHubActionsArtifact
Export artifact to persist the data and/or share with the future jobs in the same workflow.
-
# Parameter Set: Path (Default) Export-GitHubActionsArtifact [-Name] <String> [-Path] <String[]> [-RootDirectory <String>] [-ContinueOnError] [-RetentionDays <Int16>]
-
# Parameter Set: LiteralPath Export-GitHubActionsArtifact [-Name] <String> -LiteralPath <String[]> [-RootDirectory <String>] [-ContinueOnError] [-RetentionDays <Int16>]
[Optional] <Switch>
Whether the export should continue in the event of files fail to export; If not set and issue is encountered, export will stop and queued files will not export, the partial artifact availables which include files up until the issue; If set and issue is encountered, the issue file will ignore and skip, and queued files will still export, the partial artifact availables which include everything but exclude issue files.
-
Parameter Set:
- LiteralPath
- Path
- Position: Named
- Accept Pipeline Input By Property Name: True βοΈ
-
Alias:
ContinueOnIssue
<String[]>
Literal path of the files that need to export as artifact.
- Parameter Set: LiteralPath
- Position: Named
- Accept Pipeline Input: False β
- Accept Pipeline Input By Property Name: True βοΈ
- Accept Wildcard Characters: False β
-
Alias:
LiteralFile
LiteralFiles
LiteralPaths
LP
PSPath
PSPaths
<String>
Name of the artifact.
-
Parameter Set:
- LiteralPath
- Path
- Position: 0
- Accept Pipeline Input: False β
- Accept Pipeline Input By Property Name: True βοΈ
- Accept Wildcard Characters: False β
<String[]>
Path of the files that need to export as artifact.
- Parameter Set: Path
- Position: 1
- Accept Pipeline Input: False β
- Accept Pipeline Input By Property Name: True βοΈ
- Accept Wildcard Characters: True βοΈ
-
Alias:
File
Files
Paths
-
(>= v1.7.0) [Optional]
<Int16>
Retention days of the artifact, in range 1~364. -
(v1.6.X) [Optional]
<Int16>
Retention time of the artifact, by days in range 1~364. -
(< v1.6.0) [Optional]
<Byte>
Retention time of the artifact, by days in range 1~90.
β’
- Position: Named
- Accept Pipeline Input: False β
- Accept Pipeline Input By Property Name: True βοΈ
-
Alias:
-
(>= v0.5.0)
RetentionDay
-
(>= v0.5.0)
RetentionTime
-
(>= v0.5.0)
[Optional] <String>
Absolute literal path of the root directory of the files for control files structure.
-
Parameter Set:
- LiteralPath
- Path
-
Default Value:
$Env:GITHUB_WORKSPACE
- Position: Named
- Accept Pipeline Input: False β
- Accept Pipeline Input By Property Name: True βοΈ
- Accept Wildcard Characters: False β
-
Alias:
-
(>= v0.5.0)
BaseRoot
-
(>= v0.5.0)
Root
-
(>= v0.5.0)
<PSCustomObject>
Metadata of the exported artifact.
-
Name
:<String>
Name of the exported artifact. -
Items
:<String[]>
Items of the exported artifact. -
Size
:<UInt>
Size of the exported artifact. -
FailedItems
:<String[]>
Failed items of the exported artifact.
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
π