mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-25 07:58:33 +02:00
test
This commit is contained in:
parent
69e9183860
commit
3e13ebd535
1 changed files with 2 additions and 1 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
@ -4231,6 +4231,7 @@ Note: The size of downloaded zips can differ significantly from the reported siz
|
|||
core.info('Unable to find any artifacts for the associated workflow');
|
||||
return response;
|
||||
}
|
||||
console.log(artifacts)
|
||||
if (!path) {
|
||||
path = config_variables_1.getWorkSpaceDirectory();
|
||||
}
|
||||
|
@ -6454,7 +6455,7 @@ class DownloadHttpClient {
|
|||
let destinationStream = fs.createWriteStream(downloadPath);
|
||||
const headers = utils_1.getDownloadHeaders('application/json', true, true);
|
||||
// a single GET request is used to download a file
|
||||
core.info(`making dl request with ${artifactLocation} and ${downloadPath}`)
|
||||
core.info(`making dl request with ${artifactLocation} and ${downloadPath}`)
|
||||
const makeDownloadRequest = () => __awaiter(this, void 0, void 0, function* () {
|
||||
const client = this.downloadHttpManager.getClient(httpClientIndex);
|
||||
return yield client.get(artifactLocation, headers);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue