You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nuke version 8.0.0, .NET SDK version 8.0.101, .NET 8, Windows
Description
Trying to make a pipeline library for Nuke Build, with default pipeline and target dependency, when I fall inside a specific edge case with Build Components. Seems like TryDependsOn<> not assure to skip the target if the dependency is skipped when using interfaces.
Thinks it's linked to #1296 and available on Discord for more information.
Using a interface dependency with a function that checks SkippedTargets collection and see a particular step is skipped, than using it with OnlyWhenStatic on others targets.
Could you help with a pull-request?
Yes
The text was updated successfully, but these errors were encountered:
Usage Information
Nuke version 8.0.0, .NET SDK version 8.0.101, .NET 8, Windows
Description
Trying to make a pipeline library for Nuke Build, with default pipeline and target dependency, when I fall inside a specific edge case with Build Components. Seems like TryDependsOn<> not assure to skip the target if the dependency is skipped when using interfaces.
Thinks it's linked to #1296 and available on Discord for more information.
Reproduction Steps
For easy reproduction :
https://gitlab.com/neitherlands/ouroboros/-/tree/test/dependency-nuke?ref_type=heads
Otherwise :
Should look like that
Expected Behavior
All targets would be skipped.
Actual Behavior
Test is not skipped.
Regression?
No response
Known Workarounds
Using a interface dependency with a function that checks SkippedTargets collection and see a particular step is skipped, than using it with OnlyWhenStatic on others targets.
Could you help with a pull-request?
Yes
The text was updated successfully, but these errors were encountered: