Skip to content

Clarify log messages when using pattern or merge-multiple params#275

Merged
robherley merged 2 commits intomainfrom
robherley/better-log-msgs
Jan 10, 2024
Merged

Clarify log messages when using pattern or merge-multiple params#275
robherley merged 2 commits intomainfrom
robherley/better-log-msgs

Conversation

@robherley
Copy link
Copy Markdown
Contributor

Addresses:

When using pattern filters or merge multiple, it'll still log out the following:

No input name specified, downloading all artifacts. Extra directory with the artifact name will be created for each download

This adds some conditionals to the logging to be more correct.

@robherley robherley marked this pull request as ready for review January 10, 2024 20:24
@robherley robherley requested a review from a team as a code owner January 10, 2024 20:24
Comment thread dist/index.js
}
else {
core.info('No input name or pattern filtered specified, downloading all artifacts');
if (!inputs.mergeMultiple) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This option is also valid if a pattern is specified, right? It'd be nice to have the "extra directory" message in that case too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants