Fangjun Kuang
Committed by GitHub

Fix publishing nuget packages. (#525)

@@ -42,7 +42,7 @@ jobs: @@ -42,7 +42,7 @@ jobs:
42 ls -lh /tmp/packages 42 ls -lh /tmp/packages
43 43
44 - name: publish .Net packages to nuget.org 44 - name: publish .Net packages to nuget.org
45 - if: github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa' && github.event_name == 'push' && contains(github.ref, 'refs/tags/') 45 + if: github.repository_owner == 'csukuangfj' || github.repository_owner == 'k2-fsa'
46 shell: bash 46 shell: bash
47 env: 47 env:
48 API_KEY: ${{ secrets.NUGET_API_KEY }} 48 API_KEY: ${{ secrets.NUGET_API_KEY }}