Skip to content

Commit 1fb815f

Browse files
committed
change input names
1 parent 36c7286 commit 1fb815f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

action.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: "compas-actions.build"
22
description: "Build and test COMPAS or its plugins."
33

44
inputs:
5-
test_lint:
5+
invoke_lint:
66
description: "Whether to test lint errors."
77
required: true
88
default: "false"
9-
test_compas:
9+
check_import:
1010
description: "Whether to test with python -m compas."
1111
required: true
1212
default: "false"
13-
test:
13+
invoke_test:
1414
description: "Whether to run invoke test."
1515
required: false
1616
default: "true"
@@ -55,15 +55,15 @@ runs:
5555
pip install cython --install-option='--no-cython-compile'
5656
pip install --no-cache-dir -r requirements-dev.txt
5757
58-
if [[ ${{ inputs.test_lint }} = "true" ]]; then
58+
if [[ ${{ inputs.invoke_lint }} = "true" ]]; then
5959
invoke lint
6060
fi;
6161
62-
if [[ ${{ inputs.test_compas }} = "true" ]]; then
62+
if [[ ${{ inputs.check_import }} = "true" ]]; then
6363
python -m compas
6464
fi;
6565
66-
if [[ ${{ inputs.test }} = "true" ]]; then
66+
if [[ ${{ inputs.invoke_test }} = "true" ]]; then
6767
invoke test
6868
fi;
6969
@@ -113,14 +113,14 @@ runs:
113113
exit 1
114114
fi
115115
116-
if [[ ${{ inputs.test_lint }} = "true" ]]; then
116+
if [[ ${{ inputs.invoke_lint }} = "true" ]]; then
117117
invoke lint
118118
fi;
119119
120-
if [[ ${{ inputs.test_compas }} = "true" ]]; then
120+
if [[ ${{ inputs.check_import }} = "true" ]]; then
121121
python -m compas
122122
fi;
123123
124-
if [[ ${{ inputs.test }} = "true" ]]; then
124+
if [[ ${{ inputs.invoke_test }} = "true" ]]; then
125125
invoke test
126126
fi;

0 commit comments

Comments
 (0)