Skip to content

Commit

Permalink
let's try this
Browse files Browse the repository at this point in the history
  • Loading branch information
manvkaur committed Feb 27, 2024
1 parent 2d5b11b commit 2e256d8
Showing 1 changed file with 10 additions and 21 deletions.
31 changes: 10 additions & 21 deletions build/build-pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,38 +24,27 @@ pool:

steps:
- task: UseDotNet@2
displayName: 'Install .NET 6'
displayName: 'Install .NET Core SDK 6 LTS'
inputs:
version: 6.0.x
packageType: sdk
version: '6.x'

- task: UseDotNet@2
displayName: 'Install .NET 2.1'
displayName: 'Install .NET Core SDK 7 STS'
inputs:
packageType: 'sdk'
version: '2.1.x'
performMultiLevelLookup: true
version: '7.x'

- task: DotNetCoreCLI@2
displayName: 'Dotnet Restore'
displayName: '.NET Restore'
inputs:
command: 'restore'
feedsToUse: 'config'
nugetConfigPath: 'nuget.config'

- task: VSBuild@1
inputs:
solution: 'OpenAI-Extension.sln'
msbuildArgs: '--no-restore -p:ContinuousIntegrationBuild=true'
configuration: '$(buildConfiguration)'
command: restore
projects: 'OpenAI-Extension.sln'
verbosityRestore: Quiet

- task: DotNetCoreCLI@2
displayName: Build project
enabled: false
displayName: '.NET Build'
inputs:
command: 'build'
arguments: '--configuration $(buildConfiguration) --no-restore -p:ContinuousIntegrationBuild=true'
projects: 'OpenAI-Extension.sln'
arguments: '--configuration $(buildConfiguration)'

- task: DockerInstaller@0
inputs:
Expand Down

0 comments on commit 2e256d8

Please sign in to comment.