DeLaGuardo / setup-clojure

GitHub Action to provision clojure's most popular build tools for Linux, Mac OS X and Windows.
MIT License
184 stars 27 forks source link

Version 9.3 doesn't find bb in a monorepo #67

Closed dpom closed 2 years ago

dpom commented 2 years ago

It would seem that the DeLaGuardo/setup-clojure action version 9.3 has an issue with monorepo projects.

To highlight this issue I created this project: https://github.com/dpom/test-actions

The actions work without any error in version 7.0 (see branch version7.0) but fail in version 9.3 (main)

ghost commented 2 years ago

@dpom are you sure the problematic factor here is the “monorepo” style repo layout? If so would you mind sharing how you got to that hypothesis?

Is is possible that the problem is related to running setup-clojure via a composite action instead of in a “regular” step in the jobs?

DeLaGuardo commented 2 years ago

this is an issue with composite action. pre/post action steps are not available when an action is run from the local directory (the way how composite action works now, I'm not aware why this limitation exists on GH actions side). Sorry for that. Will fix it in the next release planned for this week. Before that, please use 7.0 version.