From 582d4e7fdbc73c405d6fbf402ba450f6e7f5c4ea Mon Sep 17 00:00:00 2001 From: Chris Ayers Date: Sat, 2 Dec 2023 09:55:14 -0500 Subject: [PATCH] update to .net 8 --- .github/workflows/10-dotnet.yml | 2 +- dotnet-sample/dotnet-sample.csproj | 2 +- dotnet-sample/iac/main.bicep | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/10-dotnet.yml b/.github/workflows/10-dotnet.yml index d049112..810889d 100644 --- a/.github/workflows/10-dotnet.yml +++ b/.github/workflows/10-dotnet.yml @@ -30,7 +30,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Set up dependency caching for faster builds uses: actions/cache@v3 with: diff --git a/dotnet-sample/dotnet-sample.csproj b/dotnet-sample/dotnet-sample.csproj index 3fc2a8f..ff60bd7 100644 --- a/dotnet-sample/dotnet-sample.csproj +++ b/dotnet-sample/dotnet-sample.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable dotnet_sample diff --git a/dotnet-sample/iac/main.bicep b/dotnet-sample/iac/main.bicep index 740a232..eb02fc8 100644 --- a/dotnet-sample/iac/main.bicep +++ b/dotnet-sample/iac/main.bicep @@ -1,7 +1,7 @@ param webAppName string = uniqueString(resourceGroup().id) // Generate unique String for web app name param sku string = 'S1' // The SKU of App Service Plan param location string = resourceGroup().location // Location for all resources -param linuxFxVersion string = 'DOTNETCORE|6.0' // The runtime stack of web app +param linuxFxVersion string = 'DOTNETCORE|8.0' // The runtime stack of web app var appServicePlanName = toLower('AppServicePlan-gh-demo') var webSiteName = toLower('wapp-${webAppName}')