From 74bb68ad7319dc7acde6eba55afe6223fc075fad Mon Sep 17 00:00:00 2001 From: christian <6939810+chkr1011@users.noreply.github.com> Date: Sun, 22 Sep 2024 20:15:50 +0200 Subject: [PATCH] Improve CI --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7bde3e8cc..534e27a62 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,8 +107,8 @@ jobs: run: dotnet nuget push ${{ github.workspace }}/nugets/**/*.nupkg -k ${{ secrets.MYGET_API_KEY }} -s https://www.myget.org/F/mqttnet/api/v3/index.json --skip-duplicate publish-nuget: - if: ${{ github.event_name == 'release' }} - needs: sign + if: ${{ github.event_name == 'published' }} + needs: [sign, test] runs-on: ubuntu-latest steps: