- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1
 
api_function_restoregithubactionscache
π NodeJS Wrapper: This dependents and requires NodeJS to invoke.
- Type: Function
 - In Version: >= v0.5.0
 - 
Alias:
Import-GitHubActionsCache
 
# Parameter Set: LiteralPath
Restore-GitHubActionsCache [-Key] <String[]> -LiteralPath <String[]> [-NotUseAzureSdk] [-DownloadConcurrency <Byte>] [-Timeout <UInt16>] [-SegmentTimeout <UInt16>]
# Parameter Set: Path (Default)
Restore-GitHubActionsCache [-Key] <String[]> [-Path] <String[]> [-NotUseAzureSdk] [-DownloadConcurrency <Byte>] [-Timeout <UInt16>] [-SegmentTimeout <UInt16>]Restore cache that shared the data from the past jobs in the same workflow.
[Optional] <Byte> Number of parallel downloads of the cache (only for Azure SDK), in range 1~16.
- 
Parameter Set:
- LiteralPath
 - Path
 
 - Position: Named
 - Accept Pipeline Input: False β
 - Accept Pipeline Input By Property Name: True β
 - Accept Wildcard Characters: False β
 - 
Alias:
Concurrency
 
<String[]> Keys of the cache.
- 
Parameter Set:
- LiteralPath
 - Path
 
 - Position: 0
 - Accept Pipeline Input: False β
 - Accept Pipeline Input By Property Name: True β
 - Accept Wildcard Characters: False β
 - 
Alias:
KeysNameNames
 
<String[]> Literal paths of the cache.
- Parameter Set: LiteralPath
 - Position: Named
 - Accept Pipeline Input: False β
 - Accept Pipeline Input By Property Name: True β
 - Accept Wildcard Characters: False β
 - 
Alias:
LiteralFileLiteralFilesLiteralPathsLPPSPathPSPaths
 
β Important: Previously, this parameter did accept pipeline input, but often cause issues, avoid if possible.
[Optional] <Switch> Whether to not use Azure Blob SDK to download the cache that stored on the Azure Blob Storage, this maybe affect the reliability and performance.
- 
Parameter Set:
- LiteralPath
 - Path
 
 - Position: Named
 - Accept Pipeline Input By Property Name: True β
 - 
Alias:
NoAzureSdk
 
<String[]> Paths of the cache.
- Parameter Set: Path
 - Position: 1
 - Accept Pipeline Input: False β
 - Accept Pipeline Input By Property Name: True β
 - Accept Wildcard Characters: True β
 - 
Alias:
FileFilesPaths
 
β Important: Previously, this parameter did accept pipeline input, but often cause issues, avoid if possible.
(>= v1.1.0) [Optional] <UInt16> Maximum time for each segment download request of the cache, by minutes in range 1~360; This allows the segment download to get aborted and hence allow the job to proceed with a cache miss.
- 
Parameter Set:
- LiteralPath
 - Path
 
 - Position: Named
 - Accept Pipeline Input By Property Name: True β
 
[Optional] <UInt16> Maximum time for each download request of the cache (only for Azure SDK), by seconds in range 5~900.
- 
Parameter Set:
- LiteralPath
 - Path
 
 - Position: Named
 - Accept Pipeline Input By Property Name: True β
 
<String> The key of the cache hit.
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π