When attempting to use 0.17.x on the chocolatey/choco build, we are seeing errors when attempting to run the build in CI on GitHub Actions, both in the Ubuntu and Mac builds. See:
The issue here is that when running --target=CI, an attempt is made to run the AWS Lambda publishing step, and this has a dependency on the DotNetBuild task. When running a non-dotnet build, this step is attempted, even if we add the shouldPublishAwsLambdas parameter to false (it is true by default).
What is Expected?
The build should succeed on both Windows/Mac/Linux
How Did You Get This To Happen? (Steps to Reproduce)
Added a commit to the develop branch, and pushed, and then waited for the CI build to finish.
What You Are Seeing?
When attempting to use 0.17.x on the chocolatey/choco build, we are seeing errors when attempting to run the build in CI on GitHub Actions, both in the Ubuntu and Mac builds. See:
https://github.com/chocolatey/choco/actions/runs/3336325890
as an example.
The issue here is that when running
--target=CI
, an attempt is made to run the AWS Lambda publishing step, and this has a dependency on theDotNetBuild
task. When running a non-dotnet build, this step is attempted, even if we add theshouldPublishAwsLambdas
parameter to false (it is true by default).What is Expected?
The build should succeed on both Windows/Mac/Linux
How Did You Get This To Happen? (Steps to Reproduce)
Added a commit to the develop branch, and pushed, and then waited for the CI build to finish.
System Details
N/A
Output Log
N/A