diff --git a/.ci/tasks/build.yaml b/.ci/tasks/build.yaml index 84cc1fd4..ddcc2df9 100644 --- a/.ci/tasks/build.yaml +++ b/.ci/tasks/build.yaml @@ -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: diff --git a/.ci/tasks/publish-nugget.yaml b/.ci/tasks/publish-nugget.yaml index ab26634e..53812edd 100644 --- a/.ci/tasks/publish-nugget.yaml +++ b/.ci/tasks/publish-nugget.yaml @@ -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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6cc9810..2132ffb0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,6 @@ name: dotnet package -on: +on: push: pull_request: branches: @@ -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 @@ -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 \ No newline at end of file + uses: codecov/codecov-action@v3 diff --git a/MigraDocCore.DocumentObjectModel/MigraDocCore.DocumentObjectModel.csproj b/MigraDocCore.DocumentObjectModel/MigraDocCore.DocumentObjectModel.csproj index f3f17cc0..5646487b 100644 --- a/MigraDocCore.DocumentObjectModel/MigraDocCore.DocumentObjectModel.csproj +++ b/MigraDocCore.DocumentObjectModel/MigraDocCore.DocumentObjectModel.csproj @@ -1,11 +1,12 @@  - netstandard2.0;netcoreapp3.1;net5.0;net6.0 + netstandard2.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0 false True Stefan Steiger and Contributors MigraDocCore.DocumentObjectModel for .NET Core MigraDocCore.DocumentObjectModel was ported from MigraDoc version 1.32 Copyright (c) 2005-2007 empira Software GmbH, Cologne (Germany) + README.md LICENSE.md https://github.com/ststeiger/PdfSharpCore https://github.com/ststeiger/PdfSharpCore @@ -29,6 +30,7 @@ + diff --git a/MigraDocCore.Rendering/MigraDocCore.Rendering.csproj b/MigraDocCore.Rendering/MigraDocCore.Rendering.csproj index 3666b526..0ccbc3f9 100644 --- a/MigraDocCore.Rendering/MigraDocCore.Rendering.csproj +++ b/MigraDocCore.Rendering/MigraDocCore.Rendering.csproj @@ -1,6 +1,6 @@  - netstandard2.0;netcoreapp3.1;net5.0;net6.0 + netstandard2.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0 false True Stefan Steiger and Contributors @@ -8,6 +8,7 @@ MigraDocCore.Rendering was ported from MigraDoc version 1.32 Copyright (c) 2005-2007 empira Software GmbH, Cologne (Germany) + README.md LICENSE.md https://github.com/ststeiger/PdfSharpCore https://github.com/ststeiger/PdfSharpCore @@ -33,6 +34,7 @@ MigraDocCore.Rendering was ported from MigraDoc version 1.32 + diff --git a/PdfSharpCore.Charting/PdfSharpCore.Charting.csproj b/PdfSharpCore.Charting/PdfSharpCore.Charting.csproj index 83761556..f3c24cf1 100644 --- a/PdfSharpCore.Charting/PdfSharpCore.Charting.csproj +++ b/PdfSharpCore.Charting/PdfSharpCore.Charting.csproj @@ -1,11 +1,12 @@  - netstandard2.0;netcoreapp3.1;net5.0;net6.0 + netstandard2.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0 false True Stefan Steiger and Contributors PdfSharpCore.Charting for .NET Core PdfSharpCore.Charting was ported from PdfSharp Copyright (c) 2005-2007 empira Software GmbH, Cologne (Germany) + README.md LICENSE.md https://github.com/ststeiger/PdfSharpCore https://github.com/ststeiger/PdfSharpCore @@ -29,6 +30,7 @@ + diff --git a/PdfSharpCore.Test/PdfSharpCore.Test.csproj b/PdfSharpCore.Test/PdfSharpCore.Test.csproj index 844f5748..22e0c55e 100644 --- a/PdfSharpCore.Test/PdfSharpCore.Test.csproj +++ b/PdfSharpCore.Test/PdfSharpCore.Test.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1;net5.0;net6.0 + netcoreapp3.1;net5.0;net6.0;net7.0;net8.0 false false diff --git a/PdfSharpCore/PdfSharpCore.csproj b/PdfSharpCore/PdfSharpCore.csproj index 9f8cedfd..c830a386 100644 --- a/PdfSharpCore/PdfSharpCore.csproj +++ b/PdfSharpCore/PdfSharpCore.csproj @@ -1,7 +1,7 @@  - netstandard2.0;netcoreapp3.1;net5.0;net6.0 + netstandard2.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0 false True Stefan Steiger and Contributors @@ -9,6 +9,7 @@ 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 Copyright (c) 2005-2007 empira Software GmbH, Cologne (Germany) + README.md LICENSE.md https://github.com/ststeiger/PdfSharpCore https://github.com/ststeiger/PdfSharpCore @@ -50,9 +51,10 @@ PdfSharpCore is a partial port of PdfSharp.Xamarin for .NET Core Additionally Mi - + +