diff --git a/.github/workflows/NUnit.Engine.Api.CI.yml b/.github/workflows/NUnit.Engine.Api.CI.yml index b1f712d..0dc9cad 100644 --- a/.github/workflows/NUnit.Engine.Api.CI.yml +++ b/.github/workflows/NUnit.Engine.Api.CI.yml @@ -43,6 +43,11 @@ jobs: - name: 🛠️ Install dotnet tools run: dotnet tool restore + # For reasons I don't understand, the Cake script doesn't work in a workflow + # unless they are restored before the script runs, which this command does. + - name: 🛠️ List Packages + run: dotnet list package --include-transitive + - name: 🔨 Build, Test, Package and Publish (Cake script decides) run: dotnet cake --target=ContinuousIntegration --configuration=Release #--verbosity=diagnostic diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 0000000..787f040 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,20 @@ + + + + true + true + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/NuGet.config b/NuGet.config index e34c2df..5a82da7 100644 --- a/NuGet.config +++ b/NuGet.config @@ -1,9 +1,20 @@  - - - - - - + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build.cake b/build.cake index 1642846..0990694 100644 --- a/build.cake +++ b/build.cake @@ -1,7 +1,7 @@ // Load the recipe -#load nuget:?package=NUnit.Cake.Recipe&version=2.0.0-beta.4.7 +#load nuget:?package=NUnit.Cake.Recipe&version=2.0.0-beta.4.8 // Comment out above line and uncomment below for local tests of recipe changes -//#load ../NUnit.Cake.Recipe/src/NUnit.Cake.Recipe/content/*.cake +//#load ../NUnit.Cake.Recipe/recipe/*.cake // Initialize BuildSettings BuildSettings.Initialize( @@ -22,7 +22,7 @@ BuildSettings.Packages.Add(new NuGetPackage( HasFile("LICENSE.txt"), HasDirectory("lib/net462").WithFile("nunit.engine.api.dll"), HasDirectory("lib/netstandard2.0").WithFile("nunit.engine.api.dll"), - HasDependency("NUnit.Extensibility.Api", "4.0.0-beta.2.2") + HasDependency("NUnit.Extensibility.Api", "4.0.0-beta.3") }, symbols: new PackageCheck[] { HasDirectory("lib/net462").WithFile("nunit.engine.api.pdb"), diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 74c2f6f..6c1d1d4 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -22,10 +22,6 @@ portable true - - 8.0.0 - 4.0.0-beta.2.2 - 4.3.2 NUnit Software NUnit 4 Runner and Engine @@ -36,13 +32,13 @@ - - + + - - + + @@ -72,9 +68,9 @@ - + - + diff --git a/src/NUnit.Engine.Api.Tests/NUnit.Engine.Api.Tests.csproj b/src/NUnit.Engine.Api.Tests/NUnit.Engine.Api.Tests.csproj index 36f6a23..8e9a14a 100644 --- a/src/NUnit.Engine.Api.Tests/NUnit.Engine.Api.Tests.csproj +++ b/src/NUnit.Engine.Api.Tests/NUnit.Engine.Api.Tests.csproj @@ -11,8 +11,8 @@ - - + + diff --git a/src/NUnit.Engine.Api/NUnit.Engine.Api.csproj b/src/NUnit.Engine.Api/NUnit.Engine.Api.csproj index 39cea70..5b1ebfc 100644 --- a/src/NUnit.Engine.Api/NUnit.Engine.Api.csproj +++ b/src/NUnit.Engine.Api/NUnit.Engine.Api.csproj @@ -13,7 +13,7 @@ - +