the Clojure cli tools on windows are installed on a location that is only available to the powershell shell but not available to the pwsh shell. The latter is also the default GitHub Action shell on windows, and as such calling Clojure will fail when a shell is not specified:
clojure --version
The term 'clojure' is not recognized as a name of a cmdlet, function, script file, or executable
program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
to reproduce, create a job running Clojure with the default shell:
Hi,
the Clojure cli tools on windows are installed on a location that is only available to the
powershell
shell but not available to thepwsh
shell. The latter is also the default GitHub Action shell on windows, and as such callingClojure
will fail when a shell is not specified:to reproduce, create a job running Clojure with the default shell:
it will error out with the previous message.
This also has the annoying effect that one has to specify two slightly different jobs when running cross platform tests with the same run body.
PR to follow.
thanks