From 3a9c24815a49a75b58970f4666bdf7ef9a67f738 Mon Sep 17 00:00:00 2001 From: Misheel Bayartsengel Date: Mon, 25 Nov 2024 19:07:12 -0500 Subject: [PATCH] fix newlines --- .github/workflows/Ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Ci.yml b/.github/workflows/Ci.yml index 1c8d50612e..876eab4896 100644 --- a/.github/workflows/Ci.yml +++ b/.github/workflows/Ci.yml @@ -71,7 +71,7 @@ jobs: - name: Read packages from file # Iterate through package.xml files and read folder names accounting for full path of where the command was initiated run: | - PACKAGES=$(find ./src/${{ github.event.repository.name }} -maxdepth 2 -type f -name package.xml | grep -v "template_package" | sed 's/.*\/src\/${{ github.event.repository.name }}\///' | cut -d/ -f1) + PACKAGES=$(find ./src/carma-platform -maxdepth 2 -type f -name package.xml | grep -v "template_package" | sed 's/.*\/src\/carma-platform\///' | cut -d/ -f1 | tr '\n' ' ' | sed 's/ $//') echo "Selected packages to build from this repository: $PACKAGES" echo "PACKAGES=$PACKAGES" >> $GITHUB_ENV