From 02f6fa7be22f08f114e6ccf3c75dc381e772091f Mon Sep 17 00:00:00 2001 From: Pasukhin Dmitry Date: Fri, 15 Aug 2025 09:43:27 +0100 Subject: [PATCH] Testing - Removed old test reference (#673) Fixed regression when retests were failed for not windows. --- .github/actions/download-artifacts/action.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/actions/download-artifacts/action.yml b/.github/actions/download-artifacts/action.yml index 693aa94419..b0b04e2179 100644 --- a/.github/actions/download-artifacts/action.yml +++ b/.github/actions/download-artifacts/action.yml @@ -49,15 +49,14 @@ runs: mkdir -p temp-extract tar -xzf "$ARCHIVE_FILE" -C temp-extract - # Move the extracted content to the desired path + # Create target directory and copy content (preserving existing files) + mkdir -p "$EXTRACT_PATH" + + # Copy from install/ subdirectory if it exists, otherwise copy everything if [ -d "temp-extract/install" ]; then - # Remove target directory if it exists to avoid nesting - rm -rf "$EXTRACT_PATH" - mv "temp-extract/install" "$EXTRACT_PATH" + cp -r temp-extract/install/* "$EXTRACT_PATH/" else - # If archive doesn't contain install/, move everything - mkdir -p "$EXTRACT_PATH" - mv temp-extract/* "$EXTRACT_PATH/" + cp -r temp-extract/* "$EXTRACT_PATH/" fi # Clean up temp directory -- 2.39.5