Skip to content

Commit d4ed9f9

Browse files
committed
upgrade to .net 8, update all dependencies
1 parent 69bb8d1 commit d4ed9f9

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
# uses GitHub's checkout action to checkout code form the master branch
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4.1.7
1515

1616
- name: Setup dotnet
17-
uses: actions/setup-dotnet@v3
17+
uses: actions/setup-dotnet@v4.0.1
1818
with:
19-
dotnet-version: '6.0.403' # Check for latest at link at .NET 6 download page
19+
dotnet-version: '8.0.401'
2020
- run: dotnet build
2121
- run: dotnet publish ConwaysGameOfLifeBlazorWASM.csproj -c Release -o release --nologo
2222

ConwaysGameOfLifeBlazorWASM.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.10" />
9-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.10" PrivateAssets="all" />
10-
<PackageReference Include="System.Net.Http.Json" Version="5.0.0" />
8+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.8" />
9+
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.8" PrivateAssets="all" />
10+
<PackageReference Include="System.Net.Http.Json" Version="8.0.0" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

ConwaysGameOfLifeBlazorWASM.sln

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ VisualStudioVersion = 16.0.31410.357
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConwaysGameOfLifeBlazorWASM", "ConwaysGameOfLifeBlazorWASM.csproj", "{7E64EC65-2617-43C5-B552-85D65B675FF5}"
77
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{5E170CC4-92A5-4F63-94BF-8107310D1AE6}"
9+
ProjectSection(SolutionItems) = preProject
10+
.github\workflows\main.yml = .github\workflows\main.yml
11+
EndProjectSection
12+
EndProject
813
Global
914
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1015
Debug|Any CPU = Debug|Any CPU

0 commit comments

Comments
 (0)