Skip to content

Commit 0ddd756

Browse files
committed
Fix syntax error
1 parent 8dad89e commit 0ddd756

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
$changedComponents = $(./tooling/Get-Changed-Components.ps1)
136136
$buildableChangedComponents = $(./tooling/MultiTarget/Filter-Supported-Components.ps1 -Components $changedComponents -MultiTargets ${{ matrix.multitarget }} -WinUIMajorVersion ${{ matrix.winui }})
137137
echo "CHANGED_COMPONENTS_LIST=$(($buildableChangedComponents | ForEach-Object { "'$_'" }) -join ',')" >> $env:GITHUB_ENV
138-
echo "HAS_BUILDABLE_COMPONENTS=$(buildableChangedComponents.Count -gt 0)" >> $env:GITHUB_ENV
138+
echo "HAS_BUILDABLE_COMPONENTS=$($buildableChangedComponents.Count -gt 0)" >> $env:GITHUB_ENV
139139
140140
# Generate full solution with all projects (sample gallery heads, components, tests)
141141
- name: Generate solution with ${{ matrix.multitarget }} gallery, components and tests
@@ -271,7 +271,7 @@ jobs:
271271
$changedComponents = $(./tooling/Get-Changed-Components.ps1)
272272
$buildableChangedComponents = $(./tooling/MultiTarget/Filter-Supported-Components.ps1 -Components $changedComponents -MultiTargets ${{ matrix.multitarget }} -WinUIMajorVersion ${{ matrix.winui }})
273273
echo "CHANGED_COMPONENTS_LIST=$(($buildableChangedComponents | ForEach-Object { "'$_'" }) -join ',')" >> $env:GITHUB_ENV
274-
echo "HAS_BUILDABLE_COMPONENTS=$(buildableChangedComponents.Count -gt 0)" >> $env:GITHUB_ENV
274+
echo "HAS_BUILDABLE_COMPONENTS=$($buildableChangedComponents.Count -gt 0)" >> $env:GITHUB_ENV
275275
276276
# Build and pack component nupkg
277277
- name: Build and pack component packages

0 commit comments

Comments
 (0)