diff --git a/Base2.Lambdas.csproj b/Base2.Lambdas.csproj index 321b68a..9549b42 100644 --- a/Base2.Lambdas.csproj +++ b/Base2.Lambdas.csproj @@ -2,7 +2,7 @@ Nikola Tosic - netcoreapp2.1 + net6.0 1.1.0 Base2.Lambdas Exe @@ -15,5 +15,9 @@ + + + + \ No newline at end of file diff --git a/README.md b/README.md index 8657fbc..2c2b6fc 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ $ scripts/build_docker.sh Microsoft (R) Build Engine version 15.1.1012.6693 Copyright (C) Microsoft Corporation. All rights reserved. - Base2.Lambdas -> /project/bin/Debug/netcoreapp2.1/Base2.Lambdas.dll + Base2.Lambdas -> /project/bin/Debug/netcoreapp3.1/Base2.Lambdas.dll adding: AWSSDK.AutoScaling.dll (deflated 70%) adding: AWSSDK.Core.dll (deflated 66%) adding: AWSSDK.EC2.dll (deflated 70%) diff --git a/scripts/build_docker.sh b/scripts/build_docker.sh index a925714..aba8c6d 100755 --- a/scripts/build_docker.sh +++ b/scripts/build_docker.sh @@ -6,6 +6,6 @@ cd $DIR/.. rm -rf bin docker run --rm -v $HOME/.nuget:/root/.nuget -v $DIR/..:/project -w /project microsoft/dotnet dotnet restore docker run --rm -v $HOME/.nuget:/root/.nuget -v $DIR/..:/project -w /project microsoft/dotnet dotnet publish -cd bin/Debug/netcoreapp2.1/publish && zip -r Base2.Lambdas.zip * +cd bin/Debug/netcoreapp6.0/publish && zip -r Base2.Lambdas.zip * cd $WD -mv bin/Debug/netcoreapp2.1/publish/Base2.Lambdas.zip . +mv bin/Debug/netcoreapp6.0/publish/Base2.Lambdas.zip . diff --git a/scripts/build_native.sh b/scripts/build_native.sh index d5f84ee..3f6b65b 100755 --- a/scripts/build_native.sh +++ b/scripts/build_native.sh @@ -6,6 +6,6 @@ cd $DIR/.. rm -rf bin dotnet restore dotnet publish -cd bin/Debug/netcoreapp2.1/publish && zip -r Base2.Lambdas.zip * +cd bin/Debug/netcoreapp6.0/publish && zip -r Base2.Lambdas.zip * cd $WD -mv bin/Debug/netcoreapp2.1/publish/Base2.Lambdas.zip . +mv bin/Debug/netcoreapp6.0/publish/Base2.Lambdas.zip . diff --git a/serverless.yml b/serverless.yml index 1e955a2..a173c63 100644 --- a/serverless.yml +++ b/serverless.yml @@ -2,7 +2,7 @@ service: manualawscleanup # NOTE: update this with your service name provider: name: aws - runtime: dotnetcore2.1 + runtime: dotnet6 region: ${env:REGION} deploymentBucket: ${env:SOURCE_BUCKET} iamRoleStatements: