aws / aws-extensions-for-dotnet-cli

Extensions to the dotnet CLI to simplify the process of building and publishing .NET Core applications to AWS services
Apache License 2.0
369 stars 86 forks source link

fix: ensure net6.0 runtimes are copied with the publish artifacts #282

Closed 96malhar closed 1 year ago

96malhar commented 1 year ago

Issue #, if available: DOTNET-6497 https://github.com/aws/aws-lambda-dotnet/issues/1341

Description of changes: This PR copies the net6.0 runtime modules in the publish directory while deploying PS Lambda functions based on .NET 6.

The Microsoft.PowerShell.SDK version referenced by TestPowerShellParallelTest.csproj is also bumped up to 7.2.1 to run the PS Lambda function on .NET 6.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.