Skip to content

Commit

Permalink
fix(components): set credentials unconditionally in ICreateGitHubRelease
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Aug 21, 2023
1 parent 718182a commit afd2da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Nuke.Components/ICreateGitHubRelease.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async Task<Release> GetOrCreateRelease()
}
}
GitHubTasks.GitHubClient.Credentials ??= new Credentials(GitHubToken.NotNull());
GitHubTasks.GitHubClient.Credentials = new Credentials(GitHubToken.NotNull());
var release = await GetOrCreateRelease();
Expand Down

0 comments on commit afd2da8

Please sign in to comment.