From 8b8b94f7d517033bacb9cf6d5ca177e22b3f7917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20W=C3=A4scher?= Date: Fri, 10 May 2024 23:25:14 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 398d8ec..cf600b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,10 +47,6 @@ jobs: - name: pack nuget packages run: dotnet pack --output nupkgs --configuration=Release --no-restore --no-build /p:PackageVersion=${{steps.gitversion.outputs.semVer}} - - - name: upload nuget package - if: github.event_name != 'pull_request' - run: dotnet nuget push nupkgs/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json - name: Create a GitHub release uses: ncipollo/release-action@v1 @@ -58,3 +54,7 @@ jobs: tag: ${{steps.gitversion.outputs.semVer}} name: Release ${{steps.gitversion.outputs.semVer}} if: github.event_name != 'pull_request' + + - name: upload nuget package + if: github.event_name != 'pull_request' + run: dotnet nuget push nupkgs/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json