diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 556b2abe55d..2b52a66f119 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -154,6 +154,7 @@ jobs:
}
if ($invalidPackages -gt 0) {
Write-Output "::error::$invalidPackages NuGet package(s) failed validation."
+ exit 1
}
sign:
@@ -243,6 +244,7 @@ jobs:
}
if ($invalidPackages -gt 0) {
Write-Output "::error::$invalidPackages NuGet package(s) failed validation."
+ exit 1
}
- name: Checkout vcsjones/AuthenticodeLint
diff --git a/Directory.Build.props b/Directory.Build.props
index c3398254fd3..8fa466d35af 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -2,4 +2,8 @@
true
+
+ true
+ true
+
diff --git a/build.cake b/build.cake
index de523dcc8c7..be3ee387eb0 100644
--- a/build.cake
+++ b/build.cake
@@ -114,9 +114,6 @@ Task("__BuildSolutions")
},
};
- dotNetBuildSettings.MSBuildSettings.Properties["ContinuousIntegrationBuild"] = [Environment.GetEnvironmentVariable("CI") ?? "false"];
- dotNetBuildSettings.MSBuildSettings.Properties["Deterministic"] = ["true"];
-
DotNetBuild(solution.ToString(), dotNetBuildSettings);
}
});