From 28f5503cfec7888e5d56b85db56dfa2b0082f41b Mon Sep 17 00:00:00 2001 From: Alexandre Mutel Date: Mon, 28 Feb 2022 22:17:49 +0100 Subject: [PATCH] Fix ci with dotnet-releaser when secrets are not available (bis) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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