Updated appveyor.yml to produce artifacts.
This commit is contained in:
Родитель
7caa43310b
Коммит
9d46261b5a
10
appveyor.yml
10
appveyor.yml
|
@ -1,19 +1,19 @@
|
|||
version: 1.0.{build}
|
||||
clone_folder: '%iis_admin_solution_dir%'
|
||||
init:
|
||||
- ps: >-
|
||||
- ps: >
|
||||
setx iis_admin_solution_dir $env:iis_admin_solution_dir /m;
|
||||
npm install -g bower;
|
||||
environment:
|
||||
iis_admin_solution_dir: c:\src\repos\IIS.Administration
|
||||
publish_out_dir: c:\publish_out\IIS.Administration
|
||||
publish_out_dir: '%iis_admin_solution_dir%\bin\publish_out'
|
||||
services: iis
|
||||
before_build:
|
||||
- ps: dotnet restore
|
||||
build:
|
||||
verbosity: minimal
|
||||
after_build:
|
||||
- ps: >-
|
||||
- ps: >
|
||||
& "$env:iis_admin_solution_dir\scripts\publish\publish.ps1" -OutputPath $env:publish_out_dir -SkipRestore -SkipPrompt;
|
||||
Get-WindowsOptionalFeature -Online | where {$_.FeatureName -match "IIS-" -and $_.State -eq [Microsoft.Dism.Commands.FeatureState]::Disabled} | % {Enable-WindowsOptionalFeature -Online -FeatureName $_.FeatureName};
|
||||
& "$env:publish_out_dir\setup\setup.ps1" Install -Verbose -Port 44326;
|
||||
|
@ -22,3 +22,7 @@ after_build:
|
|||
Restart-Service "Microsoft IIS Administration";
|
||||
test_script:
|
||||
- ps: dotnet test "$env:iis_admin_solution_dir\test\Microsoft.IIS.Administration.Tests"
|
||||
artifacts:
|
||||
- path: bin\publish_out
|
||||
name: IIS Administration
|
||||
type: zip
|
||||
|
|
Загрузка…
Ссылка в новой задаче