We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e8dbca commit 84071ddCopy full SHA for 84071dd
.github/workflows/download.yaml
@@ -57,7 +57,12 @@ jobs:
57
58
- id: verification
59
name: Verify non-empty file was downloaded
60
- run: echo "nonEmpty=$(test -s index.html)" >> "$GITHUB_OUTPUT"
+ run: |
61
+ if [ -s index.html ]; then
62
+ echo "nonEmpty=true" >> "$GITHUB_OUTPUT"
63
+ else
64
+ echo "nonEmpty=false" >> "$GITHUB_OUTPUT"
65
+ fi
66
67
- name: Validate job outputs stored properly
68
run: echo "${{format('Job output is {0}', steps.verification.outputs.file.nonEmpty)}}"
0 commit comments