VisualStudio/appveyor.yml

31 строка
772 B
YAML

version: '2.3.7.{build}'
skip_tags: true
install:
- ps: |
$full_build = Test-Path env:GHFVS_KEY
git submodule init
git submodule sync
if ($full_build) {
$fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
$fileContent += $env:GHFVS_KEY.Replace(' ', "`n")
$fileContent += "`n-----END RSA PRIVATE KEY-----`n"
Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
} else {
git submodule deinit script
}
git submodule update --recursive --force
nuget restore GitHubVS.sln
build_script:
- ps: scripts\build.ps1 -AppVeyor -BuildNumber:$env:APPVEYOR_BUILD_NUMBER
test:
assemblies:
only:
'test\**\**\**\*UnitTests.dll'
on_success:
- ps: |
if ($full_build) {
script\Sign-Package -AppVeyor
}