diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index cf66c24..ad1f5ff 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -38,5 +38,5 @@ jobs: run: dotnet test --no-build --verbosity normal --filter "TestCategory!=Integration" - name: Publish if: startsWith(github.ref, 'refs/heads/release') - run: dotnet nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}} + run: dotnet nuget push **\*.nupkg --source 'https://api.nuget.org/v3/index.json' --api-key ${{secrets.NUGET_API_KEY}}