-
Notifications
You must be signed in to change notification settings - Fork 88
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
[BUG] working_directory alway return the path is not a file or dir #94
Comments
Can you please add your config and if the repo is public a link to the repo? |
repo link: https://github.com/Fatpandac/arthas |
@creyD Same is happening , did you had the time to look into this? Some info that might help: I have another workflow where I use the @Fatpandac Do you have a workaround for this already? |
@ParthS007 No idea. I give up on using |
Really sorry, I didn't find the time yet to look at this properly. Could you test please without the ''? So this would be |
Thank you so much for your reply to me again. |
@ParthS007 Could you please post your repo or the action config here? |
@creyD Sure, Here's the workflow file:https://github.com/ParthS007/analysispreservation.cern.ch/blob/prettier/.github/workflows/ui-test.yml and this is the latest workflow run: https://github.com/ParthS007/analysispreservation.cern.ch/runs/7575015767?check_suite_focus=true Thanks for your time. |
@creyD Any updates on this bug if you had the time to look into the issue. Thanks |
Can you try with |
Thanks, The error is not there anymore but I see this warning:
This is the workflow file. Although, I see now |
still waiting for fix this issue 🙄 |
I'm rewriting this comment as I have a feeling that this issue is actually a misinterpretation of the Please note that the following might be entirely wrong, it's just my interpretation. If you're here because you want to use
|
Thanks for the comment, sorry I didn't see it earlier. The working_directory option changes before prettier command is installed and sets the directory for the entire action. So yes, prettier is installed at the path you specify. That being said prettier_options can -like you showed- be used to specify directory as well. So it should actually work in my opinion. @ParthS007 If you are still up to it (after such a long time) we should tackle this once and for all. I believe my autocorrect messed up when I wrote |
Thanks for the work-around notes @lnxd. I just wanted to add for anyone who tries to run these checks using the
This error does not occur in a GitHub action runner though so just a point of information. |
how to use working_directory ?
The text was updated successfully, but these errors were encountered: