Comments (6)
Looks like there is now leiningen preinstalled to action runners. And it is 2.11.1 https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md?plain=1#L89
It is taking precedence over executable installed by this action. Good news — this is fixable. I'll release a new version in a few days. As a workaround you can use full path to installed leiningen binary $LEIN_HOME/bin/lein
as an executable for your task
from setup-clojure.
For some reason unsetting this var doesn't fix the issue. But I confirm that 2.9.1 leiningen works. Proper fix for newest versions will take a day to be merged.
from setup-clojure.
Hi @DeLaGuardo , thank you for the response and willingness to supply a fix. Unfortunately the work-around is not effective. It still finds and uses the OS-installed leiningen uberjar when invoked like this.
Run cd clj; echo LEIN_HOME=$LEIN_HOME; DEBUG=true $LEIN_HOME/bin/lein test
cd clj; echo LEIN_HOME=$LEIN_HOME; DEBUG=true $LEIN_HOME/bin/lein test
shell: /usr/bin/bash -e {0}
env:
JAVA_HOME: /opt/hostedtoolcache/Java_Corretto_jdk/17.0.10-7.1/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Corretto_jdk/17.0.10-7.1/x64
LEIN_HOME: /opt/hostedtoolcache/Leiningen/2.10.0-12-3/x64
LEIN_HOME=/opt/hostedtoolcache/Leiningen/2.10.0-12-3/x64
Leiningen's classpath: /usr/local/lib/lein/self-installs/leiningen-2.11.1-standalone.jar
from setup-clojure.
Right, I just realise that there is LEIN_JAR env variable that points to the exact path to installed leiningen executable.
https://github.com/DeLaGuardo/setup-clojure/actions/runs/7832883060/job/21372587378#step:3:115
from setup-clojure.
@pieterbreed should be fixed by 12.4
Please update and let me know if it doesn't work for you
from setup-clojure.
Fixed the issue, thank you for the quick turn-around. 👍
from setup-clojure.
Related Issues (20)
- Clojure install error after boot.exe/cache update HOT 2
- Clojure cli tools are not available on the Windows pwsh shell HOT 1
- question: what is unified cli input? HOT 23
- Consider moving `pre` logic to the main entrypoint
- Version 9.3 doesn't find bb in a monorepo HOT 2
- Support for arm64 runners
- invalidate-cache: true doesn't work on self-hosted runners
- latest for cli should only use latest stable version HOT 3
- Add annotations similar to clojure-lint-action HOT 1
- Use lein.bat on Windows rather than Powershell HOT 4
- Update to node 16+ HOT 3
- "Bad Credentials" fetching clj-kondo HOT 5
- Clojure CLI downloads are moving to Github releases HOT 4
- Builds failing due to HTTP 404 HOT 2
- Request: add polylith tool to the list of tools that can be installed HOT 3
- API Rate Limit exceeded errors HOT 6
- Failed due to HTTP 404 of cljstyle HOT 1
- 404 on cljstyle HOT 3
- 404 on leiningen download (gitea)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-clojure.