Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/nuget/MSTest.TestFramework-3.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveTryon authored Dec 6, 2024
2 parents c82d235 + 130bb04 commit 80297a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Microsoft.Sbom.Targets/Microsoft.Sbom.Targets.targets
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
$([System.IO.Path]::Combine($(PackageOutputFullPath), $(PackageId).$(PackageVersion).$(ShortUnzipGuidFolder).temp))
</NugetPackageUnzip>
</PropertyGroup>
<Unzip DestinationFolder="$(NugetPackageUnzip)" SourceFiles="$(NugetPackage)" OverwriteReadOnlyFiles="true" ContinueOnError="ErrorAndContinue" />
<Microsoft.Build.Tasks.Unzip DestinationFolder="$(NugetPackageUnzip)" SourceFiles="$(NugetPackage)" OverwriteReadOnlyFiles="true" ContinueOnError="ErrorAndContinue" />

<!--
Call the SBOM task to generate a SBOM. The SBOM will be generated at the BuildDropPath location, which is the root folder
Expand All @@ -73,7 +73,7 @@
</GenerateSbom>

<!-- Zip the Nuget package back up and delete the temporary unzipped package. -->
<ZipDirectory SourceDirectory="$(NugetPackageUnzip)" DestinationFile="$(NugetPackage)" Overwrite="true" ContinueOnError="ErrorAndContinue" />
<Microsoft.Build.Tasks.ZipDirectory SourceDirectory="$(NugetPackageUnzip)" DestinationFile="$(NugetPackage)" Overwrite="true" ContinueOnError="ErrorAndContinue" />
<RemoveDir Directories="$(NugetPackageUnzip)" ContinueOnError="WarnAndContinue" />
</Target>
</Project>

0 comments on commit 80297a2

Please sign in to comment.