Skip to content

Commit 78e8f14

Browse files
Move to .NET 8
1 parent c49a984 commit 78e8f14

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: .NET
32

43
on:
@@ -14,10 +13,10 @@ jobs:
1413
- name: Setup .NET
1514
uses: actions/setup-dotnet@v1
1615
with:
17-
dotnet-version: 6.0.x
16+
dotnet-version: 8.0.x
1817
- name: Install the ssg tool
1918
run: dotnet tool install terevintosoftware.staticsitegenerator.tool --global
2019
- name: Build
2120
run: dotnet build . -c Release
2221
- name: Run the ssg tool
23-
run: ssg --project ${GITHUB_WORKSPACE} --output ${GITHUB_WORKSPACE}/out --route-casing KebabCase --assembly bin/Release/net6.0/StaticBlogTemplate.dll
22+
run: ssg generate . --output ./out --route-casing KebabCase

StaticBlogTemplate.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Markdig" Version="0.30.3" />
11-
<PackageReference Include="Markdown.ColorCode" Version="1.0.1" />
12-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="6.0.8" Condition="'$(Configuration)' =='Debug'" />
10+
<PackageReference Include="Markdig" Version="0.33.0" />
11+
<PackageReference Include="Markdown.ColorCode" Version="2.1.0" />
12+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.0" Condition="'$(Configuration)' =='Debug'" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

0 commit comments

Comments
 (0)