Skip to content

Commit

Permalink
Attempting to set the variable
Browse files Browse the repository at this point in the history
  • Loading branch information
StanleyGoldman committed Sep 25, 2018
1 parent 9173225 commit bc84fc7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build/Tasks/CodeCoverage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ public override void Run(Context context)
{
var settings = new CodecovSettings
{
Files = new [] { coverageFile.MakeAbsolute(context.Environment).FullPath }
Files = new [] { coverageFile.MakeAbsolute(context.Environment).FullPath },
EnvironmentVariables = new Dictionary<string, string> {
{
"APPVEYOR_BUILD_VERSION", context.EnvironmentVariable("APPVEYOR_BUILD_VERSION")
}
}
};

context.Codecov(settings);
Expand Down

0 comments on commit bc84fc7

Please sign in to comment.