Skip to content

Commit

Permalink
Move to .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
CamiloTerevinto committed Nov 17, 2023
1 parent c49a984 commit 78e8f14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: .NET

on:
Expand All @@ -14,10 +13,10 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Install the ssg tool
run: dotnet tool install terevintosoftware.staticsitegenerator.tool --global
- name: Build
run: dotnet build . -c Release
- name: Run the ssg tool
run: ssg --project ${GITHUB_WORKSPACE} --output ${GITHUB_WORKSPACE}/out --route-casing KebabCase --assembly bin/Release/net6.0/StaticBlogTemplate.dll
run: ssg generate . --output ./out --route-casing KebabCase
8 changes: 4 additions & 4 deletions StaticBlogTemplate.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Markdig" Version="0.30.3" />
<PackageReference Include="Markdown.ColorCode" Version="1.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="6.0.8" Condition="'$(Configuration)' =='Debug'" />
<PackageReference Include="Markdig" Version="0.33.0" />
<PackageReference Include="Markdown.ColorCode" Version="2.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.0" Condition="'$(Configuration)' =='Debug'" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 78e8f14

Please sign in to comment.