From 7622b6eca4b9d4ded849d922cf61c1ddd322ccb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C3=96rneholm?= Date: Wed, 10 Apr 2024 16:54:32 +0200 Subject: [PATCH] Only deplouy on new version --- .github/workflows/build_and_publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 45859db..40b75f5 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -83,8 +83,8 @@ jobs: - name: Build Samples run: dotnet build ${{ env.samplesProjectPath }} --configuration ${{ env.dotnetConfiguration }} - deploy: - # if: github.event_name == 'release' + deploy-nuget: + if: github.event_name == 'release' runs-on: ubuntu-latest needs: [ build-and-test, build-samples ] steps: