-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of defaults.run.working-directory
#187
Comments
Hi, see https://github.com/ramsey/composer-install#alternate-composerjson-locations. Using |
Yes, that works indeed perfectly fine. My question was about not having to specify |
This is fixed in v2, please upgrade using Thanks! |
Thanks a lot @ramsey ! 👍 Will it work with |
Hmm. That's a good question. If |
I just tried and it doesn't work if I just specify
I tried stuff like the following but it doesn't seem to be "supported" by GitHub Actions. - uses: ramsey/composer-install@v2
with:
working-directory: ${{ defaults.run.working-directory }} But using |
Thanks for reporting back your findings. I'll need to look into this. It does make sense that it should respect the current working directory of the job. |
First things first, thanks a lot for this GitHub Actions workflow ! 👍
I see that there is the
composer-options
that allow to specify the working directory with--working-dir=foo
if thecomposer.json
file is in thefoo
sub-directory.I'm using the
defaults.run.working-directory
in my workflow:Is there a way to make
ramsey/composer-install
use thatdefaults.run.working-directory
if it is specified ?Thanks!
The text was updated successfully, but these errors were encountered: