Skip to content

Commit 209f617

Browse files
committed
add the search for the dir in the repo
1 parent 6f03ad6 commit 209f617

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/build_and_run_esp_usb_test_apps.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,7 @@ jobs:
8989
name: usb_device_test_app_bin_${{ matrix.idf_ver }}
9090
- name: Check build folder exists and list it
9191
run: |
92-
DIR="build_${{ matrix.idf_target }}"
93-
echo "Workspace: $GITHUB_WORKSPACE"
94-
echo "Checking: $DIR"
95-
if [ -d "$DIR" ]; then
96-
ls -la "$DIR"
97-
else
98-
echo "ERROR: Folder '$DIR' not found"
99-
exit 1
100-
fi
92+
find . -type d -name "build_${{ matrix.idf_target }}" -print -exec ls -la {} \;
10193
- name: Run on target
10294
run: |
10395
cd ${{ env.ESP_USB_PATH }}

0 commit comments

Comments
 (0)