Skip to content

Commit

Permalink
Change NugetOrg task to insert the NUGET_API_KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
monoman committed Jan 23, 2024
1 parent 04b6e52 commit 56ffd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InterlockLedger.Commons/InterlockLedger.Commons.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<NugetPackage>$(PackageOutputAbsolutePath)$(PackageId).$(Version).nupkg</NugetPackage>
</PropertyGroup>
<Message Importance="high" Text="Pushing $(NugetPackage)" Condition="Exists('$(NugetPackage)')" />
<Exec Command="dotnet nuget push --skip-duplicate -s nuget.org $(NugetPackage)" ContinueOnError="true" StandardErrorImportance="high" StandardOutputImportance="high" IgnoreExitCode="true" Condition="Exists('$(NugetPackage)')" />
<Exec Command="dotnet nuget push --skip-duplicate -s nuget.org -k '$(NUGET_API_KEY)' $(NugetPackage)" ContinueOnError="true" StandardErrorImportance="high" StandardOutputImportance="high" IgnoreExitCode="true" Condition="Exists('$(NugetPackage)')" />
</Target>

<ItemGroup>
Expand Down

0 comments on commit 56ffd6f

Please sign in to comment.