Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dry_run input option #55

Merged
merged 1 commit into from
Oct 9, 2023
Merged

Add dry_run input option #55

merged 1 commit into from
Oct 9, 2023

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Oct 9, 2023

Closes #51

cc @MarcoIeni

main.sh Outdated
Comment on lines 54 to 55
# TODO: Downgrade to info instead of warning because of more noise on
# https://github.com/<repo>/actions/runs/<id> page when set to warning?
Copy link
Owner Author

Choose a reason for hiding this comment

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

Currently, the warnings are somewhat noisy if we have a lot of build matrix.
https://github.com/taiki-e/upload-rust-binary-action/actions/runs/6452798607

However, given the risk of making dry-run useless by missing a problem if there is no warning, we did not default to info (which is output in the log but is not very noticeable).

Perhaps adding another option to downgrade the warning might make sense.

@taiki-e taiki-e merged commit cedd1a2 into main Oct 9, 2023
10 checks passed
@taiki-e taiki-e deleted the dry-run branch October 9, 2023 05:58
@taiki-e
Copy link
Owner Author

taiki-e commented Oct 9, 2023

Published in 1.17.0. Because of #56, this option is also available as dry-run.

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.

Add a dry-run mode
1 participant