Skip to content

Commit 84071dd

Browse files
committed
More debugging
1 parent 7e8dbca commit 84071dd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/download.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,12 @@ jobs:
5757

5858
- id: verification
5959
name: Verify non-empty file was downloaded
60-
run: echo "nonEmpty=$(test -s index.html)" >> "$GITHUB_OUTPUT"
60+
run: |
61+
if [ -s index.html ]; then
62+
echo "nonEmpty=true" >> "$GITHUB_OUTPUT"
63+
else
64+
echo "nonEmpty=false" >> "$GITHUB_OUTPUT"
65+
fi
6166
6267
- name: Validate job outputs stored properly
6368
run: echo "${{format('Job output is {0}', steps.verification.outputs.file.nonEmpty)}}"

0 commit comments

Comments
 (0)