From 23ecc5d1cc79cadfc068dbe489a0f45250378f08 Mon Sep 17 00:00:00 2001 From: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com> Date: Fri, 29 Apr 2022 19:09:18 +0200 Subject: [PATCH] Update master.yml (#721) * Update master.yml * Update master.yml --- .github/workflows/master.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index fba1702..6615648 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -72,4 +72,9 @@ jobs: bin/Release/LibreHardwareMonitorLib.*.nupkg - name: Publish to NuGet - run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}} + uses: alirezanet/publish-nuget@v3.0.0 + with: + PROJECT_FILE_PATH: LibreHardwareMonitorLib/LibreHardwareMonitorLib.csproj + VERSION_FILE_PATH: Directory.Build.props + NUGET_KEY: ${{secrets.NUGET_API_KEY}} + TAG_COMMIT: false