Fix nuget publish for forks. (#2386)

This commit is contained in:
Blacktempel
2026-05-20 15:52:14 +02:00
committed by GitHub
parent 2145344e4e
commit 469aa97c77
+1
View File
@@ -100,4 +100,5 @@ jobs:
bin/Release/LibreHardwareMonitorLib.*.nupkg
- name: Publish to NuGet
if: github.repository == 'LibreHardwareMonitor/LibreHardwareMonitor'
run: nuget push bin\Release\LibreHardwareMonitorLib.*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}