From 9ffe9b30a35c153baf1fc164d6e4a193650190ea Mon Sep 17 00:00:00 2001 From: Arlo Date: Mon, 5 May 2025 10:43:34 -0500 Subject: [PATCH 1/2] Use inline script call --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b7e80a1f..42a1af377 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 From 8809f7e78f1d42d576e1b41e966c199a3e31b3e7 Mon Sep 17 00:00:00 2001 From: Arlo Date: Mon, 5 May 2025 11:07:54 -0500 Subject: [PATCH 2/2] Use inline script call to get changed components --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 42a1af377..2eb4c0c75 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -266,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