Skip to content

Commit d7595c3

Browse files
committed
fixed github action yml
1 parent 6fdf0b4 commit d7595c3

3 files changed

Lines changed: 28 additions & 9 deletions

File tree

.github/workflows/generate-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup .NET SDK
2121
uses: actions/setup-dotnet@v3
2222
with:
23-
dotnet-version: '8.x'
23+
dotnet-version: '10.x'
2424

2525
# Download dependencies and generate interop bindings via ClangSharp
2626
- name: Download dependencies & generate bindings

OpenSlideSharp.Common.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
<Pack>True</Pack>
2121
<PackagePath></PackagePath>
2222
</None>
23-
<None Include="README.md">
24-
<Visible>false</Visible>
25-
<Pack>True</Pack>
26-
<PackagePath></PackagePath>
27-
</None>
23+
<None Include="README.md">
24+
<Visible>false</Visible>
25+
<Pack>True</Pack>
26+
<PackagePath></PackagePath>
27+
</None>
2828
</ItemGroup>
2929

3030
</Project>

src/OpenSlideSharp.Interop/OpenSlideSharp.Interop.csproj

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<Import Project="../../OpenSlideSharp.Common.props" />
4-
2+
53
<PropertyGroup>
64
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
75
<LangVersion>latest</LangVersion>
86
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
97
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
8+
<Authors>IOL0ol1</Authors>
9+
<Copyright>Copyright © 2021-2026</Copyright>
10+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
11+
<PackageProjectUrl>https://github.com/IOL0ol1/OpenSlideSharp</PackageProjectUrl>
12+
<PackageIcon>openslide_logo.png</PackageIcon>
13+
<RepositoryUrl>https://github.com/IOL0ol1/OpenSlideSharp.git</RepositoryUrl>
14+
<RepositoryType>git</RepositoryType>
15+
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
1016
<PackageId>OpenSlideSharp.Interop</PackageId>
1117
<PackageTags>openslide image</PackageTags>
1218
<PackageReleaseNotes>.NET bindings for OpenSlide(https://openslide.org/), ClangSharpPInvokeGenerator auto generater</PackageReleaseNotes>
@@ -15,6 +21,19 @@
1521
<Version>1.1.2</Version>
1622
</PropertyGroup>
1723

24+
<ItemGroup>
25+
<None Include="../../openslide_logo.png">
26+
<Visible>false</Visible>
27+
<Pack>True</Pack>
28+
<PackagePath></PackagePath>
29+
</None>
30+
<None Include="../../README.md">
31+
<Visible>false</Visible>
32+
<Pack>True</Pack>
33+
<PackagePath></PackagePath>
34+
</None>
35+
</ItemGroup>
36+
1837
<ItemGroup>
1938
<PackageReference Include="System.Memory" Version="4.6.3" />
2039
</ItemGroup>

0 commit comments

Comments
 (0)