Iβm seeing this in Github actions β when trying to do a -X
β presumably some weirdness in Clojure version?
Execution error (FileNotFoundException) at clojure.main/main (main.java:40).
955
Could not locate clojure/run/exec__init.class, clojure/run/exec.clj or clojure/run/exec.cljc on classpath.
how you setup clojure-cli for your action?
Viaβ¦ your action π
clojure -Stree gives me this
org.clojure/clojure 1.10.1
1089
org.clojure/core.specs.alpha 0.2.44
1090
org.clojure/spec.alpha 0.2.176
1091
org.clojure/tools.deps.alpha 0.9.816
And clojure --help gives me
Version: 1.10.1.708
could you change the version of my action?)
to this DeLaGuardo/setup-clojure@master
new jar (exec.jar) was introduced recently as a part of clojurecli installation now it is fixed in master
sorry for inconvenience (
oh π
No worries, I was just about to dive into the source code π
Script to update pom.xml version, if that's useful to anyone: https://github.com/borkdude/babashka/blob/master/examples/set_pom_version.clj
Sure, Maven downloading the entire internet before doing anything is a time-honored tradition. π It'll only do that the first time you run the command, though.
Cool! Guess you could also do mvn versions:set -DnewVersion=1.0.1
, too, though?
Shhh
Hehe. I didn't know that. ^ @soren.sjorup
I guess the script becomes more useful when you want to actually parse the version and bump it.
Certainly. You might be able to do that with the Maven Release plugin, too, but Iβm not sure.
I think maybe I forgot to post it here, but I did a clj 1.10.1.716 prerelease this past weekend that includes a bump in many dependencies (maven resolver, aws api), and changes to make the edn reading more tolerant of unknown tagged literals in alias data
ahh amazing Iβll make a note to give it a try at some point. Thanks π
I'll update my dev/test setup today to try it out, and integrate it into our work repo.
thx
So far so good. Now it's on our QA infrastructure and handling deps/building JARs all seems to be working just fine.
The maven version downloads everything on http://apache.org to do the job for me though π