Skip to content

Commit 9d749ca

Browse files
Copilotbaywet
andauthored
ci(azure): define test target framework variable
Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
1 parent 5406f82 commit 9d749ca

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.azure-pipelines/ci-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pr:
2121
variables:
2222
buildPlatform: 'Any CPU'
2323
buildConfiguration: 'Release'
24+
testTargetFramework: 'net10.0'
2425
ProductBinPath: '$(Build.SourcesDirectory)\src\Microsoft.OpenApi\bin\$(BuildConfiguration)'
2526
REGISTRY: 'msgraphprodregistry.azurecr.io'
2627
IMAGE_NAME: 'public/openapi/hidi'
@@ -102,7 +103,7 @@ extends:
102103
# Run the Unit test
103104
- pwsh: |
104105
$testResultsDirectory = "$(Agent.TempDirectory)\TestResults"
105-
$targetFramework = "net10.0"
106+
$targetFramework = "$(testTargetFramework)"
106107
New-Item -ItemType Directory -Force -Path $testResultsDirectory | Out-Null
107108
108109
$testApplications = @(

0 commit comments

Comments
 (0)