1
1
Fork 0
forked from suyu/suyu

Fix AppVeyor WinSCP download

This commit is contained in:
Yuri Kunde Schlesner 2016-06-14 18:36:57 -07:00
parent 78f2b85fe6
commit 914eb7561e

View file

@ -44,12 +44,10 @@ on_success:
# Do a second archive with only the binaries # Do a second archive with only the binaries
7z a $BUILD_NAME_NOQT .\build\bin\release\*.exe 7z a $BUILD_NAME_NOQT .\build\bin\release\*.exe
# Download winscp
Invoke-WebRequest "http://iweb.dl.sourceforge.net/project/winscp/WinSCP/5.7.3/winscp573.zip" -OutFile "winscp573.zip"
7z e -y winscp573.zip
# Upload to server # Download WinSCP and upload to server
.\WinSCP.com /command ` choco install winscp.portable
WinSCP.exe /command `
"option batch abort" ` "option batch abort" `
"option confirm off" ` "option confirm off" `
"open sftp://citra-builds:${env:BUILD_PASSWORD}@builds.citra-emu.org -hostkey=*" ` "open sftp://citra-builds:${env:BUILD_PASSWORD}@builds.citra-emu.org -hostkey=*" `