Commit c15f752
authored
fix(action): correct upload artifacts condition (#368)
The previous condition `${{ inputs.upload_artifacts }}` would evaluate
to true for any non-empty string, causing artifacts to be uploaded even
when the input was false.
This change corrects the condition to `${{ inputs.upload_artifacts ==
true }}`, ensuring that artifacts are only uploaded when the
`upload_artifacts` input is explicitly set to true.
Co-authored-by: calyoung@google.com1 parent a1ac5be commit c15f752
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| |||
0 commit comments