diff --git a/dist/restore-only/index.js b/dist/restore-only/index.js index 145310b..3ee415e 100644 --- a/dist/restore-only/index.js +++ b/dist/restore-only/index.js @@ -12362,17 +12362,18 @@ const core = __importStar(__nccwpck_require__(4850)); const storage_blob_1 = __nccwpck_require__(3864); function UploadCache(uploadURL, archivePath) { return __awaiter(this, void 0, void 0, function* () { - core.debug(`Uploading cache to: ${uploadURL}`); + core.info(`Uploading ${archivePath} to: ${uploadURL}`); // Specify data transfer options const uploadOptions = { blockSize: 4 * 1024 * 1024, concurrency: 2, maxSingleShotSize: 8 * 1024 * 1024, // 8 MiB initial transfer size }; - // Create blob client from container client // const blobClient: BlobClient = new BlobClient(uploadURL.urls[0]) const blobClient = new storage_blob_1.BlobClient(uploadURL.urls[0].url); const blockBlobClient = blobClient.getBlockBlobClient(); + core.info(`BlobClient: ${blobClient}`); + core.info(`BlobClient: ${blockBlobClient}`); return blockBlobClient.uploadFile(archivePath, uploadOptions); }); } diff --git a/dist/restore/index.js b/dist/restore/index.js index 83361c6..39cc97c 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -12362,17 +12362,18 @@ const core = __importStar(__nccwpck_require__(4850)); const storage_blob_1 = __nccwpck_require__(3864); function UploadCache(uploadURL, archivePath) { return __awaiter(this, void 0, void 0, function* () { - core.debug(`Uploading cache to: ${uploadURL}`); + core.info(`Uploading ${archivePath} to: ${uploadURL}`); // Specify data transfer options const uploadOptions = { blockSize: 4 * 1024 * 1024, concurrency: 2, maxSingleShotSize: 8 * 1024 * 1024, // 8 MiB initial transfer size }; - // Create blob client from container client // const blobClient: BlobClient = new BlobClient(uploadURL.urls[0]) const blobClient = new storage_blob_1.BlobClient(uploadURL.urls[0].url); const blockBlobClient = blobClient.getBlockBlobClient(); + core.info(`BlobClient: ${blobClient}`); + core.info(`BlobClient: ${blockBlobClient}`); return blockBlobClient.uploadFile(archivePath, uploadOptions); }); } diff --git a/dist/save-only/index.js b/dist/save-only/index.js index 462e613..46b10de 100644 --- a/dist/save-only/index.js +++ b/dist/save-only/index.js @@ -12362,17 +12362,18 @@ const core = __importStar(__nccwpck_require__(4850)); const storage_blob_1 = __nccwpck_require__(3864); function UploadCache(uploadURL, archivePath) { return __awaiter(this, void 0, void 0, function* () { - core.debug(`Uploading cache to: ${uploadURL}`); + core.info(`Uploading ${archivePath} to: ${uploadURL}`); // Specify data transfer options const uploadOptions = { blockSize: 4 * 1024 * 1024, concurrency: 2, maxSingleShotSize: 8 * 1024 * 1024, // 8 MiB initial transfer size }; - // Create blob client from container client // const blobClient: BlobClient = new BlobClient(uploadURL.urls[0]) const blobClient = new storage_blob_1.BlobClient(uploadURL.urls[0].url); const blockBlobClient = blobClient.getBlockBlobClient(); + core.info(`BlobClient: ${blobClient}`); + core.info(`BlobClient: ${blockBlobClient}`); return blockBlobClient.uploadFile(archivePath, uploadOptions); }); } diff --git a/dist/save/index.js b/dist/save/index.js index 9b681ed..716128d 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -12362,17 +12362,18 @@ const core = __importStar(__nccwpck_require__(4850)); const storage_blob_1 = __nccwpck_require__(3864); function UploadCache(uploadURL, archivePath) { return __awaiter(this, void 0, void 0, function* () { - core.debug(`Uploading cache to: ${uploadURL}`); + core.info(`Uploading ${archivePath} to: ${uploadURL}`); // Specify data transfer options const uploadOptions = { blockSize: 4 * 1024 * 1024, concurrency: 2, maxSingleShotSize: 8 * 1024 * 1024, // 8 MiB initial transfer size }; - // Create blob client from container client // const blobClient: BlobClient = new BlobClient(uploadURL.urls[0]) const blobClient = new storage_blob_1.BlobClient(uploadURL.urls[0].url); const blockBlobClient = blobClient.getBlockBlobClient(); + core.info(`BlobClient: ${blobClient}`); + core.info(`BlobClient: ${blockBlobClient}`); return blockBlobClient.uploadFile(archivePath, uploadOptions); }); }