Skip to content

Commit

Permalink
Fix the find command
Browse files Browse the repository at this point in the history
  • Loading branch information
mika-robots committed Sep 15, 2023
1 parent 0031dfc commit 80f8721
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/cypress_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,14 @@ jobs:
- name: Find coverage file
working-directory: "."
run: |
find . -name coverage-summary.json
FILE_NAME="coverage-summary.json"
FOUND_PATH=$(find . -type f -name "$FILE_NAME")
if [[ ! -z "$FOUND_PATH" ]]; then
echo "File found at: $FOUND_PATH"
else
echo "File not found!"
fi
- name: Archive code coverage results
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 80f8721

Please sign in to comment.