Skip to content

Commit

Permalink
Try attach screenshots again
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Oct 22, 2024
1 parent 3498d32 commit 056909c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/tests_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 056909c

Please sign in to comment.