diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 2e07e48bf..6b9c2a2cd 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -17,9 +17,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x - name: Restore dependencies diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b60453ff9..1404d3872 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,9 @@ on: env: BRANCH: master + # remove and adjust building a nuget package to the latest requirements + NUGET_ENABLE_LEGACY_CSPROJ_PACK: true + defaults: run: working-directory: src @@ -17,9 +20,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: 6.0.x - name: Setup NuGet.exe diff --git a/src/Directory.Build.props b/src/Directory.Build.props index f5fb8fe99..1fe0b7cc8 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -20,8 +20,8 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props new file mode 100644 index 000000000..e283c7c19 --- /dev/null +++ b/src/Directory.Packages.props @@ -0,0 +1,15 @@ + + + true + + + + + + + + + + + + \ No newline at end of file diff --git a/src/GiGraph.Dot.Entities.Tests/GiGraph.Dot.Entities.Tests.csproj b/src/GiGraph.Dot.Entities.Tests/GiGraph.Dot.Entities.Tests.csproj index 949fdc2d6..b3ac7e688 100644 --- a/src/GiGraph.Dot.Entities.Tests/GiGraph.Dot.Entities.Tests.csproj +++ b/src/GiGraph.Dot.Entities.Tests/GiGraph.Dot.Entities.Tests.csproj @@ -5,14 +5,14 @@ - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/GiGraph.Dot.Output.Tests/GiGraph.Dot.Output.Tests.csproj b/src/GiGraph.Dot.Output.Tests/GiGraph.Dot.Output.Tests.csproj index 1a9af9dc2..a8ecc953c 100644 --- a/src/GiGraph.Dot.Output.Tests/GiGraph.Dot.Output.Tests.csproj +++ b/src/GiGraph.Dot.Output.Tests/GiGraph.Dot.Output.Tests.csproj @@ -5,14 +5,14 @@ - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/GiGraph.Dot.Tests/GiGraph.Dot.Tests.csproj b/src/GiGraph.Dot.Tests/GiGraph.Dot.Tests.csproj index 1a1d02205..7b54dc9cd 100644 --- a/src/GiGraph.Dot.Tests/GiGraph.Dot.Tests.csproj +++ b/src/GiGraph.Dot.Tests/GiGraph.Dot.Tests.csproj @@ -5,14 +5,14 @@ - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/GiGraph.Dot.Types.Tests/GiGraph.Dot.Types.Tests.csproj b/src/GiGraph.Dot.Types.Tests/GiGraph.Dot.Types.Tests.csproj index 35cc40884..3f2a432c8 100644 --- a/src/GiGraph.Dot.Types.Tests/GiGraph.Dot.Types.Tests.csproj +++ b/src/GiGraph.Dot.Types.Tests/GiGraph.Dot.Types.Tests.csproj @@ -5,14 +5,14 @@ - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/GiGraph.sln b/src/GiGraph.sln index 2f95ac7d4..00d8be7d0 100644 --- a/src/GiGraph.sln +++ b/src/GiGraph.sln @@ -23,6 +23,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Solution Items\CommonAssemblyInfo.cs = Solution Items\CommonAssemblyInfo.cs ..\README.md = ..\README.md GiGraph.Dot.Entities.Tests\Attributes\__snapshots__\attribute_property_key_map.snap = GiGraph.Dot.Entities.Tests\Attributes\__snapshots__\attribute_property_key_map.snap + Directory.Packages.props = Directory.Packages.props EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GiGraph.Dot.Types", "GiGraph.Dot.Types\GiGraph.Dot.Types.csproj", "{6B5EFF21-2558-48B5-8564-6BFF9DBF11C3}" diff --git a/src/Solution Items/CommonAssemblyInfo.cs b/src/Solution Items/CommonAssemblyInfo.cs index 940ee50f1..c90fa8e09 100644 --- a/src/Solution Items/CommonAssemblyInfo.cs +++ b/src/Solution Items/CommonAssemblyInfo.cs @@ -7,7 +7,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Mariusz Schimke")] [assembly: AssemblyProduct("GiGraph DOT")] -[assembly: AssemblyCopyright("Copyright © 2020-2022 Mariusz Schimke")] +[assembly: AssemblyCopyright("Copyright © 2020-2023 Mariusz Schimke")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -21,5 +21,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.0.1")] -[assembly: AssemblyFileVersion("2.0.1")] \ No newline at end of file +[assembly: AssemblyVersion("2.1.0")] +[assembly: AssemblyFileVersion("2.1.0")] \ No newline at end of file