From 1399b4ba2a65018758474140ba7f4a832d52f34c Mon Sep 17 00:00:00 2001 From: Frederik Carlier Date: Tue, 7 Mar 2017 14:52:02 +0100 Subject: [PATCH] Fix AppVeyor script --- appveyor.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ab1786f..b1e9e35 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,10 +1,15 @@ -before_build: - - nuget restore +install: + - choco install -y wget + - wget -q https://download.microsoft.com/download/5/F/E/5FEB7E95-C643-48D5-8329-9D2C63676CE8/dotnet-dev-win-x64.1.0.0-rc4-004771.exe + - dotnet-dev-win-x64.1.0.0-rc4-004771.exe /install /quiet /log dotnetinstall.log + - ps: Push-AppveyorArtifact "dotnetinstall.log" build_script: - - msbuild plist-cil.sln /p:Configuration=Release /p:Platform="Any CPU" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" + - cmd: cd plist-cil + - cmd: dotnet restore + - cmd: dotnet build -c Release --version-suffix r%APPVEYOR_BUILD_NUMBER% on_success: - - cmd: cd plist-cil - - cmd: nuget pack plist-cil.nuspec -Version %APPVEYOR_BUILD_VERSION% - - ps: Push-AppveyorArtifact "plist-cil.$($env:APPVEYOR_BUILD_VERSION).nupkg" \ No newline at end of file + - cmd: dotnet pack -c Release --version-suffix r%APPVEYOR_BUILD_NUMBER% + - ps: Push-AppveyorArtifact "bin\Release\plist-cil.1.0.54-r$($env:APPVEYOR_BUILD_NUMBER).nupkg" + - ps: Push-AppveyorArtifact "bin\Release\plist-cil.1.0.54-r$($env:APPVEYOR_BUILD_NUMBER).symbols.nupkg" \ No newline at end of file