mirror of https://github.com/actions/toolkit
add blob client property check
parent
31a6086649
commit
c9e825e841
|
@ -60,6 +60,8 @@ export async function uploadZipToBlobStorage(
|
||||||
core.info(`is the upload stream readable? ${uploadStream.readable}`)
|
core.info(`is the upload stream readable? ${uploadStream.readable}`)
|
||||||
core.info(`is the upload stream writable? ${uploadStream.writable}`)
|
core.info(`is the upload stream writable? ${uploadStream.writable}`)
|
||||||
core.info(`are we exceeding the max concurrency? ${maxConcurrency}`)
|
core.info(`are we exceeding the max concurrency? ${maxConcurrency}`)
|
||||||
|
// is the blob client ready?
|
||||||
|
core.info(`blob client props: ${blockBlobClient.url}`)
|
||||||
try {
|
try {
|
||||||
core.info(
|
core.info(
|
||||||
'1 Even more beginning upload of artifact content to blob storage'
|
'1 Even more beginning upload of artifact content to blob storage'
|
||||||
|
|
|
@ -70,6 +70,8 @@ export async function uploadArtifact(
|
||||||
|
|
||||||
return createZipUploadStream(zipSpecification, options?.compressionLevel)
|
return createZipUploadStream(zipSpecification, options?.compressionLevel)
|
||||||
.then(async zipUploadStream => {
|
.then(async zipUploadStream => {
|
||||||
|
core.info(`starting upload to blob here`)
|
||||||
|
core.info(`zipuploadstream looks like this: ${zipUploadStream}`)
|
||||||
return uploadZipToBlobStorage(
|
return uploadZipToBlobStorage(
|
||||||
createArtifactResp.signedUploadUrl,
|
createArtifactResp.signedUploadUrl,
|
||||||
zipUploadStream
|
zipUploadStream
|
||||||
|
|
Loading…
Reference in New Issue