Skip to content

Commit eea8223

Browse files
committed
Fix conditionals for steps using check for file being present and not empty.
1 parent 9063a3d commit eea8223

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/download.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ jobs:
7474
path: ./index.html
7575
retention-days: 9
7676
overwrite: true
77-
if: ${{ steps.verification.outputs.file.nonEmpty }} && true
78-
77+
if: ${{ steps.verification.outputs.nonEmpty }}
7978
- name: cleanup - ensure credentials and temporary files removed from runner
8079
run: |
8180
rm -f services.json
@@ -91,5 +90,5 @@ jobs:
9190
permissions:
9291
id-token: write
9392
contents: read
94-
if: ${{ needs.download.outputs.file.nonEmpty }} && true
93+
if: ${{ needs.download.outputs.file }}
9594

0 commit comments

Comments
 (0)