From f501de48caac6828dd23f2245ae2c7dec697e710 Mon Sep 17 00:00:00 2001 From: Alan Edwardes Date: Wed, 31 Jul 2024 21:44:13 +0100 Subject: [PATCH] Updates build tooling to .NET 8 --- .github/workflows/dotnet-core.yml | 2 +- PublishLambda.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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