From 0631b43f705f1ce5a2490036224df95da1030de9 Mon Sep 17 00:00:00 2001 From: Olivia Guyot Date: Tue, 14 Jan 2025 15:05:16 +0100 Subject: [PATCH] chore(ci): fix affected projects print command --- .github/workflows/checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index ddf33181c..7735861b1 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -117,12 +117,12 @@ jobs: - name: Compute affected projects run: | - echo "AFFECTED_LIBS=$(npx nx print-affected --type=lib --select=projects | awk 'BEGIN {RS = ", "; ORS = ", "} \ + echo "AFFECTED_LIBS=$(npx nx show projects --affected --type=lib | awk 'BEGIN {RS = ", "; ORS = ", "} \ { print "`"$1"`" }')" >> $GITHUB_ENV - name: Compute affected apps run: | - echo "AFFECTED_APPS=$(npx nx print-affected --type=app --select=projects | awk 'BEGIN {RS = ", "; ORS = ", "} \ + echo "AFFECTED_APPS=$(npx nx show projects --affected --type=app | awk 'BEGIN {RS = ", "; ORS = ", "} \ { print "`"$1"`" }')" >> $GITHUB_ENV - name: add PR comment