From d9b0e4e791bac4732e3c5edbabe1afd34281369e Mon Sep 17 00:00:00 2001 From: sangeet-joy_xero Date: Mon, 21 Oct 2024 16:07:31 +0530 Subject: [PATCH] ci: clean up --- .github/workflows/dotnet.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 4936d0d9..e338830a 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -3,9 +3,6 @@ name: .NET on: release: types: [published] - pull_request: - branches: - - master jobs: build: @@ -55,9 +52,7 @@ jobs: working-directory: Xero-NetStandard - name: Publish Package to Nuget.org - run: | - exit 1 - dotnet nuget push ./Xero.NetStandard.OAuth2/bin/Release/Xero.NetStandard.OAuth2.${{ github.event.release.name }}.nupkg + run: dotnet nuget push ./Xero.NetStandard.OAuth2/bin/Release/Xero.NetStandard.OAuth2.${{ github.event.release.name }}.nupkg --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json working-directory: Xero-NetStandard