mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-27 00:48:28 +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');
|
core.info('Unable to find any artifacts for the associated workflow');
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
console.log(artifacts)
|
||||||
if (!path) {
|
if (!path) {
|
||||||
path = config_variables_1.getWorkSpaceDirectory();
|
path = config_variables_1.getWorkSpaceDirectory();
|
||||||
}
|
}
|
||||||
|
@ -6454,7 +6455,7 @@ class DownloadHttpClient {
|
||||||
let destinationStream = fs.createWriteStream(downloadPath);
|
let destinationStream = fs.createWriteStream(downloadPath);
|
||||||
const headers = utils_1.getDownloadHeaders('application/json', true, true);
|
const headers = utils_1.getDownloadHeaders('application/json', true, true);
|
||||||
// a single GET request is used to download a file
|
// 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 makeDownloadRequest = () => __awaiter(this, void 0, void 0, function* () {
|
||||||
const client = this.downloadHttpManager.getClient(httpClientIndex);
|
const client = this.downloadHttpManager.getClient(httpClientIndex);
|
||||||
return yield client.get(artifactLocation, headers);
|
return yield client.get(artifactLocation, headers);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue