Skip to content

Commit 4b2f853

Browse files
committed
fix
1 parent f474dd2 commit 4b2f853

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/profile-multinode.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,11 @@ jobs:
238238
echo "trace=$trace_path" >> "$GITHUB_OUTPUT"
239239
fi
240240
241-
# For multinode, also collect traces from LOGS/profiles/ into an archive
241+
# For multinode, collect traces from LOGS/profiles/ or LOGS/logs/profiles/
242242
profiles_dir="$GITHUB_WORKSPACE/LOGS/profiles"
243+
if [ ! -d "$profiles_dir" ] && [ -d "$GITHUB_WORKSPACE/LOGS/logs/profiles" ]; then
244+
profiles_dir="$GITHUB_WORKSPACE/LOGS/logs/profiles"
245+
fi
243246
if [ -d "$profiles_dir" ] && [ -n "$(find "$profiles_dir" -type f 2>/dev/null | head -1)" ]; then
244247
echo "Found profile traces:"
245248
find "$profiles_dir" -type f | head -20

0 commit comments

Comments
 (0)