Skip to content

Commit

Permalink
Try this variation
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGilham committed Jun 3, 2018
1 parent d2a8b8e commit bf2c44b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions Build/actions.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,7 @@ open System.Runtime.CompilerServices
|> (HandleResults msg)

let RunRaw (f:Fake.Core.ProcStartInfo -> Fake.Core.ProcStartInfo) msg =
// C:\Users\appveyor\AppData\Local\Microsoft\dotnet
let prep = if Environment.isWindows && Directory.Exists "C:/Users/appveyor/AppData/Local/Microsoft\dotnet"
then f >> (Fake.Core.Process.setEnvironmentVariable "DOTNET_HOME" "C:/Users/appveyor/AppData/Local/Microsoft\dotnet")
else f
Fake.Core.Process.execWithResult prep (TimeSpan.FromMinutes 10.0)
Fake.Core.Process.execWithResult f (TimeSpan.FromMinutes 10.0)
|> (HandleResults msg)

let RunDotnet (o:DotNet.Options -> DotNet.Options) cmd args msg =
Expand Down
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ shallow_clone: true
environment:
COVERALLS_REPO_TOKEN:
secure: qgIIfE76i59qTVO64mT7QwKcAUUYCQLie4XdUdlnt7MXLhrwqTbcfGUsCss/TmLg
PATH: '%PATH%;%USERPROFILE%\.dotnet\tools'
DOTNET_ROOT: '%USERPROFILE%\AppData\Local\Microsoft\dotnet'
PATH: '%PATH%;%USERPROFILE%\.dotnet\tools;%USERPROFILE%\AppData\Local\Microsoft\dotnet'
install:
- ps: >-
Expand Down

0 comments on commit bf2c44b

Please sign in to comment.