diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b7e80a1f..2eb4c0c75 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -135,8 +135,7 @@ jobs: - name: Get changed components run: | - $components = ./tooling/Get-Changed-Components.ps1 - echo "CHANGED_COMPONENTS_LIST=$components" >> $env:GITHUB_ENV + echo "CHANGED_COMPONENTS_LIST=$(./tooling/Get-Changed-Components.ps1)" >> $env:GITHUB_ENV # Generate full solution with all projects (sample gallery heads, components, tests) - name: Generate solution with ${{ matrix.multitarget }} gallery, components and tests @@ -267,8 +266,7 @@ jobs: # Get changed components - name: Get changed components run: | - $components = ./tooling/Get-Changed-Components.ps1 - echo "CHANGED_COMPONENTS_LIST=$components" >> $env:GITHUB_ENV + echo "CHANGED_COMPONENTS_LIST=$(./tooling/Get-Changed-Components.ps1)" >> $env:GITHUB_ENV # Build and pack component nupkg - name: Build and pack component packages