[X] I have searched issues to ensure it has not already been reported
Cake runner
Cake .NET Tool
Cake version
3.0.0
Operating system
Linux
Operating system architecture
64-Bit
CI Server
GitHub Actions
What are you seeing?
After I updated gitfool/Cake.Dungeon for Cake v3, I tried to change it to use the GitHub Actions group commands from task setup and teardown but this fails with an unexpected error:
Compiling build script...
/home/runner/work/Cake.Dungeon/Cake.Dungeon/scripts/bootstrap.cake(24,52): error CS0119: 'CommandAliases.Command(ICakeContext, ICollection<string>, ProcessArgumentBuilder, int, Func<CommandSettings, CommandSettings>)' is a method, which is not valid in the given context
/home/runner/work/Cake.Dungeon/Cake.Dungeon/scripts/bootstrap.cake(25,55): error CS0119: 'CommandAliases.Command(ICakeContext, ICollection<string>, ProcessArgumentBuilder, int, Func<CommandSettings, CommandSettings>)' is a method, which is not valid in the given context
What is expected?
Unless I'm missing something, this should compile and behave the same as the previous code that writes information directly to output.
Prerequisites
Cake runner
Cake .NET Tool
Cake version
3.0.0
Operating system
Linux
Operating system architecture
64-Bit
CI Server
GitHub Actions
What are you seeing?
After I updated gitfool/Cake.Dungeon for Cake v3, I tried to change it to use the GitHub Actions group commands from task setup and teardown but this fails with an unexpected error:
What is expected?
Unless I'm missing something, this should compile and behave the same as the previous code that writes information directly to output.
Steps to Reproduce
See the code change referenced above.
Output log
No response