From ed8456a07f24be4af1b3763ded2fde4758305cf1 Mon Sep 17 00:00:00 2001 From: Samarjeet Date: Tue, 28 Mar 2023 22:46:30 +0530 Subject: [PATCH] Fix find for linux (#507) --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5fd4d80..fca7417 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,7 @@ jobs: cd /tmp git clone --branch ${{ github.event.inputs.branch }} --depth 1 https://github.com/percy/cli cd cli - PERCY_PACKAGES=`find packages -type d -depth 1 | sed -e 's/packages/@percy/g' | tr '\n' ' '` + PERCY_PACKAGES=`find packages -mindepth 1 -maxdepth 1 -type d | sed -e 's/packages/@percy/g' | tr '\n' ' '` git log -1 yarn yarn build