Commit a8f7ed9
committed
ci(warm-deps): fix empty --extras on base matrix legs (#831)
The install-args expression used `matrix.extras == '' && '' || format(...)`.
GitHub Actions treats the empty-string middle operand as falsy, so the base
leg (extras='') fell through to the format() branch and produced `--extras `
with no value, failing `poetry install` with 'The "--extras" option requires
a value'. Only the base legs failed; pyarrow/kernel legs (non-empty extras)
passed.
Invert to test for non-empty extras first and default to '', which never
yields a valueless --extras.
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>1 parent ea9bf86 commit a8f7ed9
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
145 | 149 | | |
146 | 150 | | |
147 | 151 | | |
| |||
0 commit comments