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%