From 3e4ae47b45d8e7539089f7ba6df8b1b18f24cf83 Mon Sep 17 00:00:00 2001 From: Eric Ahnell Date: Mon, 27 Nov 2023 10:22:17 -0500 Subject: [PATCH 1/2] Add support for .NET 8. Bump dependencies. --- .github/workflows/ci.yml | 4 ++-- BlazorCalendar/BlazorCalendar.csproj | 10 +++++++--- samples/BlazorServer/BlazorServer.csproj | 2 +- .../BlazorWebAssembly.csproj | 20 ++++++++++++++----- 4 files changed, 25 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8593d24..c96609c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest env: - PUBLISH_FOLDER: samples/BlazorWebAssembly/bin/Release/net7.0/publish/wwwroot + PUBLISH_FOLDER: samples/BlazorWebAssembly/bin/Release/net8.0/publish/wwwroot name: Build and Deploy Job steps: @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-dotnet@v3 with: - dotnet-version: '7.x' + dotnet-version: '8.x' - name: Dotnet Publish run: diff --git a/BlazorCalendar/BlazorCalendar.csproj b/BlazorCalendar/BlazorCalendar.csproj index 947b3fd..46de08a 100644 --- a/BlazorCalendar/BlazorCalendar.csproj +++ b/BlazorCalendar/BlazorCalendar.csproj @@ -1,7 +1,7 @@  - net6.0; net7.0 + net6.0; net7.0; net8.0 enable enable True @@ -27,11 +27,15 @@ - + - + + + + + diff --git a/samples/BlazorServer/BlazorServer.csproj b/samples/BlazorServer/BlazorServer.csproj index 8f5417a..bd3f5e5 100644 --- a/samples/BlazorServer/BlazorServer.csproj +++ b/samples/BlazorServer/BlazorServer.csproj @@ -1,7 +1,7 @@ - net7.0 + net6.0; net7.0; net8.0 10.0 enable enable diff --git a/samples/BlazorWebAssembly/BlazorWebAssembly.csproj b/samples/BlazorWebAssembly/BlazorWebAssembly.csproj index 5ca0e00..d44deb0 100644 --- a/samples/BlazorWebAssembly/BlazorWebAssembly.csproj +++ b/samples/BlazorWebAssembly/BlazorWebAssembly.csproj @@ -1,15 +1,25 @@ - net7.0 + net6.0; net7.0; net8.0 enable enable - - - - + + + + + + + + + + + + + + From 0659be21843e9aaa3e493d248e86343b422767d9 Mon Sep 17 00:00:00 2001 From: Eric Ahnell Date: Mon, 27 Nov 2023 10:30:34 -0500 Subject: [PATCH 2/2] ci.yml: Publish command needs framework specified. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c96609c..367668b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - name: Dotnet Publish run: - dotnet publish --configuration Release + dotnet publish --configuration Release --framework net8.0 - name: Change base-tag in index.html to repo name run: sed -i 's///g' $GITHUB_WORKSPACE/$PUBLISH_FOLDER/index.html