Skip to content

Commit 7df1a0b

Browse files
authored
Merge pull request #668 from CommunityToolkit/fix/ci
Fix CI error for detecting changed components
2 parents 186152a + 8809f7e commit 7df1a0b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ jobs:
135135

136136
- name: Get changed components
137137
run: |
138-
$components = ./tooling/Get-Changed-Components.ps1
139-
echo "CHANGED_COMPONENTS_LIST=$components" >> $env:GITHUB_ENV
138+
echo "CHANGED_COMPONENTS_LIST=$(./tooling/Get-Changed-Components.ps1)" >> $env:GITHUB_ENV
140139
141140
# Generate full solution with all projects (sample gallery heads, components, tests)
142141
- name: Generate solution with ${{ matrix.multitarget }} gallery, components and tests
@@ -267,8 +266,7 @@ jobs:
267266
# Get changed components
268267
- name: Get changed components
269268
run: |
270-
$components = ./tooling/Get-Changed-Components.ps1
271-
echo "CHANGED_COMPONENTS_LIST=$components" >> $env:GITHUB_ENV
269+
echo "CHANGED_COMPONENTS_LIST=$(./tooling/Get-Changed-Components.ps1)" >> $env:GITHUB_ENV
272270
273271
# Build and pack component nupkg
274272
- name: Build and pack component packages

0 commit comments

Comments
 (0)