diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7bde3e8c..534e27a6 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: