Fixed the issue in Manual reports to s3 workflow. (#1056)

* Fixed unzip step to flatten Allure report structure

Signed-off-by: jitendra-kushavah <jitendra.kushavah@candelatech.com>

* Fix: Move contents of inner folder to flatten Allure report structure

Signed-off-by: jitendra-kushavah <jitendra.kushavah@candelatech.com>

---------

Signed-off-by: jitendra-kushavah <jitendra.kushavah@candelatech.com>
This commit is contained in:
Jitendrakumar Kushavah
2025-07-04 17:06:55 +05:30
committed by GitHub
parent 155ba95f0d
commit 2dc0706f43

View File

@@ -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: |