Add more tests for restoreCacheV2

This commit is contained in:
Bassem Dghaidi
2024-11-25 03:53:03 -08:00
committed by GitHub
parent 27dfd2c41c
commit 4de30f744e
3 changed files with 216 additions and 179 deletions

View File

@@ -3,13 +3,14 @@ import * as core from '@actions/core'
import {
BlobClient,
BlockBlobClient,
BlobDownloadOptions
BlobDownloadOptions,
BlobDownloadResponseParsed
} from '@azure/storage-blob'
export async function downloadCacheFile(
signedUploadURL: string,
archivePath: string
): Promise<{}> {
): Promise<BlobDownloadResponseParsed> {
const downloadOptions: BlobDownloadOptions = {
maxRetryRequests: 5
}