Fix publishing nuget packages. (#525)

This commit is contained in:
Fangjun Kuang
2024-01-11 18:54:23 +08:00
committed by GitHub
parent 07e2b9a36d
commit ec728ff7f6

View File

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