.appveyor.yml 746 B

1234567891011121314151617181920212223242526
  1. version: 1.1.0.{build}
  2. install:
  3. - cmd: choco install nsis.portable -y
  4. - ps: |
  5. $url='http://download.microsoft.com/download/7/B/6/7B629E05-399A-4A92-B5BC-484C74B5124B/dotNetFx40_Client_setup.exe'
  6. $exe=(Split-Path $url -Leaf)
  7. if (Test-Path $exe) {
  8. Write-Output "Using cached $exe"
  9. } else {
  10. Write-Output "No cached $exe, downloading $url"
  11. Start-FileDownload $url
  12. }
  13. assembly_info:
  14. patch: true
  15. configuration:
  16. - Debug
  17. - Release
  18. before_build:
  19. - nuget restore
  20. after_build:
  21. - makensis /DSSH_HANDLER_VERSION=%APPVEYOR_BUILD_VERSION% /DSSH_HANDLER_CONFIGURATION=%CONFIGURATION% ssh-handler.nsi
  22. artifacts:
  23. - path: ssh-handler\bin\$(configuration)
  24. - path: ssh-handler-*.exe
  25. cache:
  26. - dotNetFx40_Client_setup.exe