From 469aa97c779cb2e485e3040dca8fc12f7c5e9150 Mon Sep 17 00:00:00 2001 From: Blacktempel <6657796+Blacktempel@users.noreply.github.com> Date: Wed, 20 May 2026 15:52:14 +0200 Subject: [PATCH] Fix nuget publish for forks. (#2386) --- .github/workflows/master.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 75f8748..adc79b4 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -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}}