From cfce6e87f4f066a709ce3e73ff096f81bebce83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6llner?= Date: Fri, 3 Jan 2020 01:51:26 +0100 Subject: [PATCH] dotnet tool hack --- appveyor.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 6be8c88..5451b4f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -57,10 +57,9 @@ test_script: # - cmd: choco install capnpc-csharp --source=".;https://chocolatey.org/api/v2" --force -y - cmd: choco install capnproto --source="https://chocolatey.org/api/v2" --force -y - cmd: cd %APPVEYOR_BUILD_FOLDER%\capnpc-csharp - - powershell: | - $jversion = nbgv get-version -f json | ConvertFrom-Json - $version = $($jversion.NuGetPackageVersion) - dotnet tool install --global --add-source ./nupkg capnpc-csharp --version $(version) + - cmd: echo dotnet tool install --global --add-source ./nupkg capnpc-csharp --version > install.bat + - cmd: nbgv get-version -v NuGetPackageVersion >> install.bat + - cmd: install.bat - cmd: cd %APPVEYOR_BUILD_FOLDER%\install-test - cmd: compile-test - cmd: cd %APPVEYOR_BUILD_FOLDER%