Ensure usage of direct conditions when using WithCriteria on tasks #50
Labels
Improvement
Issues that enhances existing functionality, or adds new features
Milestone
When defining WithCriteria on tasks, a single (or at most two) conditions should be used. That way, a reason can easily be provided in the build output as to why a task was skipped.
Remove the usage of a method like
ShouldPublishGitHub()
that contains lots of conditions, as then it becomes hard to understand exactly why a task was skipped during the build execution.While updating this, it makes sense to ensure consistency in the reasons provided for skipping a task.
The text was updated successfully, but these errors were encountered: