Skip to content

Commit 24a5c19

Browse files
committed
ci: uses hashFiles to check file existence
1 parent 9587452 commit 24a5c19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/coverage.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
SimpleCov:
1010
runs-on: ubuntu-latest
1111
steps:
12-
# Only download this if the coverage/ directory isn't present
13-
- if: ${{ !exists('coverage/index.html') }}
12+
# Only download this if the coverage/ directory isn't populated
13+
- if: ${{ hashFiles('coverage/**') == '' }}
1414
uses: actions/download-artifact@v4
1515
with:
1616
name: coverage-report

0 commit comments

Comments
 (0)