Skip to content

Commit

Permalink
Work CI-CD
Browse files Browse the repository at this point in the history
- Add property to restore packages with lock file on pipeline only.

***NO_CI***
  • Loading branch information
josesimoes committed Apr 26, 2024
1 parent 9924bf1 commit 6d0831f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<PropertyGroup>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<RestoreLockedMode Condition="'$(TF_BUILD)' == 'True' or '$(ContinuousIntegrationBuild)' == 'True'">true</RestoreLockedMode>
</PropertyGroup>

<Target Name="CopyToolsContent" AfterTargets="Build">
Expand Down
1 change: 1 addition & 0 deletions nanoFirmwareFlasher.Tool/nanoFirmwareFlasher.Tool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<RuntimeIdentifiers>any</RuntimeIdentifiers>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<RestoreLockedMode Condition="'$(TF_BUILD)' == 'True' or '$(ContinuousIntegrationBuild)' == 'True'">true</RestoreLockedMode>
</PropertyGroup>

<PropertyGroup Condition="$(VSCodeExtensionBuild) == '' or $(VSCodeExtensionBuild) == 'False'">
Expand Down

0 comments on commit 6d0831f

Please sign in to comment.