Skip to content

Commit

Permalink
chore: GHA - on Windows use nuget from PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
ermshiperete committed Mar 27, 2024
1 parent 2e0af0f commit b4b487d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DigitaleBriefwahl.Launcher/DigitaleBriefwahl.Launcher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
<PropertyGroup>
<RootDir Condition="'$(RootDir)' == ''">$(MSBuildProjectDirectory)/..</RootDir>
<NuGetToolsPath>$(RootDir)/build</NuGetToolsPath>
<NuGetExePath Condition=" '$(NuGetExePath)' == '' ">$(NuGetToolsPath)/nuget.exe</NuGetExePath>
<NuGetExePath Condition=" '$(OS)' == 'Windows_NT' And '$(NuGetExePath)' == '' ">nuget.exe</NuGetExePath>
<NuGetExePath Condition=" '$(OS)' != 'Windows_NT' And '$(NuGetExePath)' == '' ">$(NuGetToolsPath)/nuget.exe</NuGetExePath>
<NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">"$(NuGetExePath)"</NuGetCommand>
<NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --debug $(NuGetExePath)</NuGetCommand>
<FullOutputPath>$(ProjectDir)/bin/$(Configuration)</FullOutputPath>
Expand Down

0 comments on commit b4b487d

Please sign in to comment.