🔧 Enables opting out of custom paths via DisableCustomArtifactsPath variable

Necessary to faciliate Deterministic builds
This commit is contained in:
2025-08-16 18:15:29 +03:00
parent 405767587e
commit 30e2c18b68

View File

@@ -50,7 +50,7 @@
<DefaultItemExcludes>$(DefaultItemExcludes);*.log;*.binlog</DefaultItemExcludes> <DefaultItemExcludes>$(DefaultItemExcludes);*.log;*.binlog</DefaultItemExcludes>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="$(ArtifactsPath) == ''"> <PropertyGroup Condition="$(ArtifactsPath) == '' AND $(DisableCustomArtifactsPath) != 'true'">
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath> <ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
</PropertyGroup> </PropertyGroup>