mirror of
https://github.com/actions/toolkit
synced 2025-05-08 16:17:40 +00:00
add blob client property check
This commit is contained in:
parent
31a6086649
commit
c9e825e841
2 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue