File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 29
29
-S opencv \
30
30
-B ${{ inputs.builddir }} \
31
31
-G ${{ inputs.generator }} \
32
- ${{ inputs.enable_contrib && '-DOPENCV_EXTRA_MODULES_PATH=opencv_contrib/modules' }} \
32
+ ${{ fromJSON( inputs.enable_contrib) && '-DOPENCV_EXTRA_MODULES_PATH=opencv_contrib/modules' }} \
33
33
${{ inputs.options }}
34
34
echo "::endgroup::"
35
35
Original file line number Diff line number Diff line change @@ -56,15 +56,15 @@ runs:
56
56
57
57
# Python
58
58
59
- - if : ${{ always() && inputs.enable_python }}
59
+ - if : ${{ always() && fromJSON( inputs.enable_python) }}
60
60
shell : bash
61
61
working-directory : ${{ inputs.workdir }}/${{ inputs.builddir }}
62
62
run : |
63
63
echo "::group::Python test"
64
64
python3 ../opencv/modules/python/test/test.py --repo ../opencv -v
65
65
echo "::endgroup::"
66
66
67
- - if : ${{ always() && inputs.enable_python }}
67
+ - if : ${{ always() && fromJSON( inputs.enable_python) }}
68
68
shell : bash
69
69
working-directory : ${{ inputs.workdir }}/${{ inputs.builddir }}
70
70
run : |
You can’t perform that action at this time.
0 commit comments