Skip to content

Commit

Permalink
Refresh resource files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jericho committed Jan 20, 2024
1 parent d4493b8 commit ab203f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#tool dotnet:?package=coveralls.net&version=4.0.1
#tool nuget:https://f.feedz.io/jericho/jericho/nuget/?package=GitReleaseManager&version=0.17.0-collaborators0003
#tool nuget:?package=ReportGenerator&version=5.2.0
#tool nuget:?package=xunit.runner.console&version=2.6.3
#tool nuget:?package=xunit.runner.console&version=2.6.6
#tool nuget:?package=CodecovUploader&version=0.7.1

// Install addins.
Expand Down Expand Up @@ -308,6 +308,8 @@ Task("Upload-Coverage-Result-Coveralls")
.WithCriteria(() => isMainRepo)
.Does(() =>
{
if(string.IsNullOrEmpty(coverallsToken)) throw new InvalidOperationException("Could not resolve Coveralls token.");

CoverallsNet(new FilePath(coverageFile), CoverallsNetReportType.OpenCover, new CoverallsNetSettings()
{
RepoToken = coverallsToken,
Expand All @@ -328,6 +330,8 @@ Task("Upload-Coverage-Result-Codecov")
.WithCriteria(() => isMainRepo)
.Does(() =>
{
if(string.IsNullOrEmpty(codecovToken)) throw new InvalidOperationException("Could not resolve CodeCov token.");

Codecov(new CodecovSettings
{
Files = new[] { coverageFile },
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.100",
"version": "8.0.101",
"rollForward": "patch",
"allowPrerelease": false
}
Expand Down

0 comments on commit ab203f2

Please sign in to comment.