From 056909ceeb1263de1f39dac57343a4f873eca49d Mon Sep 17 00:00:00 2001 From: root Date: Tue, 22 Oct 2024 12:35:24 +0100 Subject: [PATCH] Try attach screenshots again --- .github/workflows/tests_dev.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests_dev.yml b/.github/workflows/tests_dev.yml index aaa4dfd96..5aa901d1c 100644 --- a/.github/workflows/tests_dev.yml +++ b/.github/workflows/tests_dev.yml @@ -128,11 +128,17 @@ jobs: - name: Move Allure report files run: | mv allure-report/* . - if [ -d "screenshots/before_action_data/attachments" ]; then + if [ -d "screenshots/data/attachments" ]; then mkdir -p data/attachments # Create the target directory if it doesn't exist - mv screenshots/before_action_data/attachments/* data/attachments/ + mv screenshots/data/attachments/* data/attachments/ fi + - name: Upload Attachments + uses: actions/upload-artifact@v2 + with: + name: screenshots + path: /app/data/attachments/* + - name: List contents of data/attachments run: ls -l data/attachments