From 7ff63fd0c464a87059e4fabd3b228eadf51a8e75 Mon Sep 17 00:00:00 2001 From: Leonardo Emanuele Date: Thu, 4 Apr 2024 12:28:40 +0200 Subject: [PATCH] try sending up the nuget --- .github/workflows/build-publish.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-publish.yaml b/.github/workflows/build-publish.yaml index c2fb139..80b3e83 100644 --- a/.github/workflows/build-publish.yaml +++ b/.github/workflows/build-publish.yaml @@ -67,12 +67,12 @@ jobs: - name: Dotnet - Pack run: dotnet pack -c "Release ${{ matrix.client }}" --no-restore - # - name: Publish - NuGet - # if: ${{ env.is-tag == 'true' }} - # run: dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate - # working-directory: CompiledLibs + - name: Publish - NuGet + if: ${{ env.is-tag == 'true' }} + run: dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate + working-directory: CompiledLibs - # - name: Publish - GitHub - # if: ${{ env.is-tag == 'true' }} - # run: dotnet nuget push **/*.nupkg --skip-duplicate - # working-directory: CompiledLibs + - name: Publish - GitHub + if: ${{ env.is-tag == 'true' }} + run: dotnet nuget push **/*.nupkg --skip-duplicate + working-directory: CompiledLibs