Commit 38fedd7
committed
Fix use-external-python in the action
fd01666
broke setting the Python version for the action.
While use-external-python works in
.github/workflows/test-python-install.yml, it does not work in the
action itself. This is because custom action inputs cannot use true
booleans, so the use-external-python input is a string type. This string
then always gets interpreted as "true", so the "Setup python" condition
always resolves to "false" due to negation.
Use fromJSON to correctly convert the strings "true" and "false" to
boolean types.1 parent ab76874 commit 38fedd7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments