Skip to content

Commit 45bb903

Browse files
committed
skia sharp issue
1 parent 1622f31 commit 45bb903

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/hugo.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ jobs:
4646
- name: Setup .NET SDK
4747
uses: actions/setup-dotnet@v4
4848
with:
49-
dotnet-version: "9.0.x"
49+
dotnet-version: "10.0.x"
50+
51+
- name: Install SkiaSharp Linux dependencies
52+
run: sudo apt-get update && sudo apt-get install -y libfontconfig1
5053

5154
- name: Generate missing cover images (SkiaSharp)
5255
run: dotnet run --project tools/GenerateCovers --configuration Release --

tools/GenerateCovers/GenerateCovers.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<!-- Single-file publish: dotnet publish -c Release -r RID -p:SelfContained=true -->
@@ -13,6 +13,8 @@
1313

1414
<ItemGroup>
1515
<PackageReference Include="SkiaSharp" Version="3.119.2" />
16+
<!-- SkiaSharp 3.x does not pull Linux natives transitively for net10.0; required on ubuntu CI. -->
17+
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="3.119.2" />
1618
<PackageReference Include="YamlDotNet" Version="16.3.0" />
1719
</ItemGroup>
1820

0 commit comments

Comments
 (0)