From 3bb9605d248b3f56ec75290908d88c497d83da93 Mon Sep 17 00:00:00 2001 From: Florian Bachinger Date: Thu, 18 Jan 2024 13:28:53 +0100 Subject: [PATCH] push pre-releases to NuGet --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 49836e7..eb291f7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,4 +45,4 @@ jobs: - name: publish every release to NuGet.org run: dotnet nuget push src/Communication/bin/Release/*.nupkg -k ${{secrets.NUGET_ORG_API_KEY}} -s https://api.nuget.org/v3/index.json - if: github.event_name == 'push' && startswith(github.ref, 'refs/heads/release/v') + if: github.event_name == 'push' && startswith(github.ref, 'refs/heads')