Skip to content

Commit

Permalink
Merge pull request #424 from startnow65/master
Browse files Browse the repository at this point in the history
Some house keeping
  • Loading branch information
ststeiger authored Jul 12, 2024
2 parents cdf089b + 676742c commit d0b0a42
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .ci/tasks/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ image_resource:
type: docker-image
source:
repository: mcr.microsoft.com/dotnet/sdk
tag: 7.0-alpine3.15-amd64
tag: 8.0.101-alpine3.18-amd64
inputs:
- name: source
params:
Expand Down
2 changes: 1 addition & 1 deletion .ci/tasks/publish-nugget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ image_resource:
type: docker-image
source:
repository: mcr.microsoft.com/dotnet/sdk
tag: 7.0-alpine3.15-amd64
tag: 8.0.101-alpine3.18-amd64
inputs:
- name: source
- name: version
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: dotnet package

on:
on:
push:
pull_request:
branches:
Expand All @@ -12,7 +12,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet: ['3.1.x','5.0.x','6.0.x','7.0.x']
dotnet:
- 3.1.x
- 5.0.x
- 6.0.x
- 7.0.x
- 8.0.x
steps:
- uses: actions/checkout@v3
- name: Setup dotnet
Expand All @@ -23,10 +28,13 @@ jobs:
5.0.x
6.0.x
7.0.x
8.0.x
- name: DotNetBuild
shell: pwsh
run: ./ci-build.ps1
- name: Install Ghostscript
run: sudo apt-get install -y ghostscript
- name: Test
run: dotnet test --no-restore --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
- name: Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v3
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Authors>Stefan Steiger and Contributors</Authors>
<Description>MigraDocCore.DocumentObjectModel for .NET Core MigraDocCore.DocumentObjectModel was ported from MigraDoc version 1.32</Description>
<Copyright>Copyright (c) 2005-2007 empira Software GmbH, Cologne (Germany)</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageProjectUrl>https://github.com/ststeiger/PdfSharpCore</PackageProjectUrl>
<RepositoryUrl>https://github.com/ststeiger/PdfSharpCore</RepositoryUrl>
Expand All @@ -29,6 +30,7 @@

<ItemGroup>
<None Include="..\LICENSE.md" Pack="true" PackagePath="" />
<None Include="..\README.md" Pack="true" PackagePath="" />
</ItemGroup>

</Project>
4 changes: 3 additions & 1 deletion MigraDocCore.Rendering/MigraDocCore.Rendering.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Authors>Stefan Steiger and Contributors</Authors>
<Description>MigraDocCore.Rendering for .NET Core

MigraDocCore.Rendering was ported from MigraDoc version 1.32</Description>
<Copyright>Copyright (c) 2005-2007 empira Software GmbH, Cologne (Germany)</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageProjectUrl>https://github.com/ststeiger/PdfSharpCore</PackageProjectUrl>
<RepositoryUrl>https://github.com/ststeiger/PdfSharpCore</RepositoryUrl>
Expand All @@ -33,6 +34,7 @@ MigraDocCore.Rendering was ported from MigraDoc version 1.32</Description>

<ItemGroup>
<None Include="..\LICENSE.md" Pack="true" PackagePath="" />
<None Include="..\README.md" Pack="true" PackagePath="" />
</ItemGroup>

</Project>
4 changes: 3 additions & 1 deletion PdfSharpCore.Charting/PdfSharpCore.Charting.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Authors>Stefan Steiger and Contributors</Authors>
<Description>PdfSharpCore.Charting for .NET Core PdfSharpCore.Charting was ported from PdfSharp</Description>
<Copyright>Copyright (c) 2005-2007 empira Software GmbH, Cologne (Germany)</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageProjectUrl>https://github.com/ststeiger/PdfSharpCore</PackageProjectUrl>
<RepositoryUrl>https://github.com/ststeiger/PdfSharpCore</RepositoryUrl>
Expand All @@ -29,6 +30,7 @@

<ItemGroup>
<None Include="..\LICENSE.md" Pack="true" PackagePath="" />
<None Include="..\README.md" Pack="true" PackagePath="" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion PdfSharpCore.Test/PdfSharpCore.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
6 changes: 4 additions & 2 deletions PdfSharpCore/PdfSharpCore.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Authors>Stefan Steiger and Contributors</Authors>
<Description>PdfSharp for .NET Core

PdfSharpCore is a partial port of PdfSharp.Xamarin for .NET Core Additionally MigraDoc has been ported as well (from version 1.32). Images have been implemented with ImageSharp from https://www.nuget.org/packages/SixLabors.ImageSharp</Description>
<Copyright>Copyright (c) 2005-2007 empira Software GmbH, Cologne (Germany)</Copyright>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageProjectUrl>https://github.com/ststeiger/PdfSharpCore</PackageProjectUrl>
<RepositoryUrl>https://github.com/ststeiger/PdfSharpCore</RepositoryUrl>
Expand Down Expand Up @@ -50,9 +51,10 @@ PdfSharpCore is a partial port of PdfSharp.Xamarin for .NET Core Additionally Mi
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.4" />
<PackageReference Include="SixLabors.Fonts" Version="1.0.0-beta17" />
</ItemGroup>

<ItemGroup>
<None Include="..\LICENSE.md" Pack="true" PackagePath="" />
<None Include="..\README.md" Pack="true" PackagePath="" />
</ItemGroup>

</Project>

0 comments on commit d0b0a42

Please sign in to comment.