1
0
Fork 0
mirror of https://code.forgejo.org/actions/download-artifact.git synced 2024-12-23 04:06:00 +01:00
This commit is contained in:
Rob Herley 2024-01-10 15:17:47 -05:00
parent 355659bff2
commit a244de5a62
No known key found for this signature in database
GPG key ID: D1602042C3543B06

7
dist/index.js vendored
View file

@ -121113,7 +121113,6 @@ function run() {
artifacts = [targetArtifact];
}
else {
core.info(`No input name specified, downloading all artifacts. Extra directory with the artifact name will be created for each download`);
const listArtifactResponse = yield artifact_1.default.listArtifacts(Object.assign({ latest: true }, options));
artifacts = listArtifactResponse.artifacts;
core.debug(`Found ${artifacts.length} artifacts in run`);
@ -121123,6 +121122,12 @@ function run() {
artifacts = artifacts.filter(artifact => matcher.match(artifact.name));
core.debug(`Filtered from ${listArtifactResponse.artifacts.length} to ${artifacts.length} artifacts`);
}
else {
core.info('No input name or pattern filtered specified, downloading all artifacts');
if (!inputs.mergeMultiple) {
core.info('An extra directory with the artifact name will be created for each download');
}
}
}
if (artifacts.length) {
core.info(`Preparing to download the following artifacts:`);