Skip to content

Commit fdf9f93

Browse files
authored
Update action.yml
1 parent d5f86f9 commit fdf9f93

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/actions/build_pandas/action.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,11 @@ runs:
2727

2828
- name: Build Pandas
2929
run: |
30-
SETUP_ARGS=""
31-
if [[ ${{ inputs.werror }} == "true" ]]; then
32-
SETUP_ARGS="--werror"
33-
fi
3430
if [[ ${{ inputs.editable }} == "true" ]]; then
3531
pip install -e . --no-build-isolation -v --no-deps \
36-
-Csetup-args=$SETUP_ARGS
32+
${{ inputs.werror == 'true' && '-Csetup-args="--werror"' || '' }}
3733
else
3834
pip install . --no-build-isolation -v --no-deps \
39-
-Csetup-args=$SETUP_ARGS
35+
${{ inputs.werror == 'true' && '-Csetup-args="--werror"' || '' }}
4036
fi
4137
shell: bash -el {0}

0 commit comments

Comments
 (0)