Skip to content

Commit

Permalink
Update build-aotbrowser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
caleblanchard authored Apr 5, 2022
1 parent c3dd167 commit d8d10d7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Projects/build-aotbrowser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ trigger:
- master

pool:
# Use the VS2017 image
vmImage: 'vs2017-win2016'
# Use the windows 2022 image
vmImage: 'windows-2022'
demands:
- msbuild
- visualstudio
Expand Down Expand Up @@ -54,6 +54,13 @@ steps:
Contents: '**/bin/**'
TargetFolder: '$(Build.BinariesDirectory)'

- task: CopyFiles@2
displayName: 'Copy AOTBrowser Metadat to: $(Build.BinariesDirectory)'
inputs:
SourceFolder: '$(MetadataPath)'
Contents: 'AOTBrowser'
TargetFolder: '$(Build.BinariesDirectory)'

# Restore nuget packages for C# Projects
- task: NuGetCommand@2
displayName: 'NuGet restore'
Expand Down Expand Up @@ -98,6 +105,8 @@ steps:
displayName: 'Create Model Source Package'
inputs:
XppToolsPath: '$(NuGetsPath)\$(ToolsPackage)'
XppMetadataPath: '$(Build.BinariesDirectory)'
XppMetadataSearch: AOTBrowser
SourceModelPackagePath: '$(Build.ArtifactStagingDirectory)\AOTBrowser_Model_$(Build.BuildNumber).zip'

# Enable this task to add a license file to the package
Expand Down

0 comments on commit d8d10d7

Please sign in to comment.