forked from dotMorten/WindowsStateTriggers
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.vsts-ci.yml
51 lines (45 loc) · 1.52 KB
/
.vsts-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
phases:
- phase: VS_Latest
variables:
NUGET_PACKAGES: $(Agent.WorkFolder)\.nuget
NUGET_HTTP_CACHE_PATH: $(Agent.WorkFolder)\.nuget-http-cache
SourceLinkEnabled: false
steps:
- task: GitVersion@3
inputs:
updateAssemblyInfo: false
- task: NuGetToolInstaller@0
inputs:
versionSpec: 4.7.0
checkLatest: false
- task: NuGetCommand@2
inputs:
command: restore
solution: src\WindowsStateTriggers.sln
selectOrConfig: select
includeNuGetOrg: true
verbosityRestore: Normal
- task: MSBuild@1
inputs:
solution: src\WindowsStateTriggers.sln
msbuildLocationMethod: version
msbuildVersion: latest
msbuildArchitecture: x86
msbuildArguments: /r /p:Configuration=Release "/p:PackageOutputPath=$(build.artifactstagingdirectory)\nuget" "/p:PackageVersion=%GITVERSION_FullSemVer%" "/p:InformationalVersion=%GITVERSION_InformationalVersion%" /detailedsummary
clean: false
maximumCpuCount: true
restoreNugetPackages: false
logProjectEvents: false
createLogFile: false
- task: PublishBuildArtifacts@1
condition: always()
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)'
ArtifactName: WindowsStateTriggers-drop
publishLocation: Container
- task: PublishBuildArtifacts@1
displayName: Publish Package Artifacts
inputs:
pathToPublish: .\src\TestApp.Wasm\bin\Release\netstandard2.0\dist
artifactType: container
artifactName: WindowsStateTriggers-Wasm