From d3c0594f6ce63f0815427899528654e96e447dce Mon Sep 17 00:00:00 2001 From: Srdjan Zivojinovic Date: Fri, 23 Aug 2024 13:59:46 +0200 Subject: [PATCH] Add condition to nuget push step --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e53123b..8bb3880 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: run: ./Build.ps1 shell: pwsh - name: Push to NuGet - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') env: NUGET_URL: https://api.nuget.org/v3/index.json NUGET_API_KEY: ${{ secrets.NUGET_FRAKTALIO_CI_API_KEY }}