From 2dc0706f43e275c8db460675c2e5c82c4483a619 Mon Sep 17 00:00:00 2001 From: Jitendrakumar Kushavah <78074038+jitendra-kushavah@users.noreply.github.com> Date: Fri, 4 Jul 2025 17:06:55 +0530 Subject: [PATCH] Fixed the issue in Manual reports to s3 workflow. (#1056) * Fixed unzip step to flatten Allure report structure Signed-off-by: jitendra-kushavah * Fix: Move contents of inner folder to flatten Allure report structure Signed-off-by: jitendra-kushavah --------- Signed-off-by: jitendra-kushavah --- .github/workflows/manual_reports_to_s3.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manual_reports_to_s3.yml b/.github/workflows/manual_reports_to_s3.yml index b30560ccd..41480d063 100644 --- a/.github/workflows/manual_reports_to_s3.yml +++ b/.github/workflows/manual_reports_to_s3.yml @@ -104,8 +104,12 @@ jobs: - name: Extract report run: | - unzip -q allure-report.zip -d allure-report - rm allure-report.zip + unzip -q allure-report.zip -d temp + mkdir -p allure-report + shopt -s dotglob # Include hidden files + inner_dir=$(find temp -mindepth 1 -maxdepth 1 -type d | head -n 1) + mv "$inner_dir"/* allure-report/ + rm -rf temp allure-report.zip - name: Verify report structure run: |