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}}