Skip to content

Commit 9e5ff8b

Browse files
authored
Update publish.yml with variables.UseFabric
1 parent b101fb4 commit 9e5ff8b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.ado/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ extends:
334334

335335
- template: .ado/templates/apply-published-version-vars.yml@self
336336

337-
- ${{ if eq($(UseFabric), true) }}:
337+
- ${{ if eq(variables.UseFabric, true) }}:
338338
- template: .ado/templates/enable-fabric-experimental-feature.yml@self
339339

340340
- template: .ado/templates/msbuild-sln.yml@self
@@ -354,9 +354,9 @@ extends:
354354
- template: .ado/templates/publish-build-artifacts.yml@self
355355
parameters:
356356
oneESMode: true ## Files are only copied to staging, not published
357-
${{ if eq($(UseFabric), true) }}:
357+
${{ if eq(variables.UseFabric, true) }}:
358358
artifactName: ReactWindowsFabric
359-
${{ if eq($(UseFabric), false) }}:
359+
${{ if eq(variables.UseFabric, false) }}:
360360
artifactName: ReactWindows
361361
buildPlatform: $(BuildPlatform)
362362
buildConfiguration: $(BuildConfiguration)
@@ -390,11 +390,11 @@ extends:
390390
targetPath: '$(CrashDumpRootPath)'
391391
artifactName: Crash dumps - $(Agent.JobName)-$(System.JobAttempt)
392392
- output: pipelineArtifact
393-
${{ if eq($(UseFabric), true) }}:
393+
${{ if eq(variables.UseFabric, true) }}:
394394
displayName: 'Publish Artifact: ReactWindowsFabric.$(BuildPlatform).$(BuildConfiguration)'
395395
artifactName: ReactWindowsFabric.$(BuildPlatform).$(BuildConfiguration)
396396
targetPath: $(Build.StagingDirectory)/NuGet/ReactWindowsFabric/$(BuildPlatform)/$(BuildConfiguration)
397-
${{ if eq($(UseFabric), false) }}:
397+
${{ if eq(variables.UseFabric, false) }}:
398398
displayName: 'Publish Artifact: ReactWindows.$(BuildPlatform).$(BuildConfiguration)'
399399
artifactName: ReactWindows.$(BuildPlatform).$(BuildConfiguration)
400400
targetPath: $(Build.StagingDirectory)/NuGet/ReactWindows/$(BuildPlatform)/$(BuildConfiguration)

0 commit comments

Comments
 (0)