mirror of
https://github.com/claunia/plist-cil.git
synced 2025-12-16 19:14:26 +00:00
Fix AppVeyor script
This commit is contained in:
17
appveyor.yml
17
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"
|
||||
- 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"
|
||||
Reference in New Issue
Block a user