diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index e860844..a341f7f 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -16,7 +16,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Install dependencies run: dotnet restore - name: Build diff --git a/PublishLambda.ps1 b/PublishLambda.ps1 index 37b23fc..0746ba3 100644 --- a/PublishLambda.ps1 +++ b/PublishLambda.ps1 @@ -10,7 +10,7 @@ Remove-Item -LiteralPath $OutputFolder -Force -Recurse -ErrorAction Ignore dotnet publish $InputProject ` --configuration "Release" ` - --framework "net6.0" ` + --framework "net8.0" ` /p:GenerateRuntimeConfigurationFiles=true ` --runtime linux-x64 ` --self-contained false