diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77b6b8d5..f036023c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,4 +27,4 @@ jobs: - name: Build, Test, Pack, Publish run: | dotnet tool install -g dotnet-releaser - dotnet-releaser run --nuget-token "${{secrets.NUGET_TOKEN}}" --github-token "${{secrets.GITHUB_TOKEN}}" src/dotnet-releaser.toml \ No newline at end of file + dotnet-releaser run --nuget-token "${{secrets.NUGET_TOKEN != '' && secrets.NUGET_TOKEN || 'no_token'}}" --github-token "${{secrets.GITHUB_TOKEN}}" src/dotnet-releaser.toml \ No newline at end of file