-
Notifications
You must be signed in to change notification settings - Fork 217
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
Windows: tlmgr: command not found
#671
Comments
That workflow does not use the Here is a working example: |
Hi @gaborcsardi, I'm afraid you may be mistaken. It does indeed use the Could you please reopen this until we can both confirm it's resolved? Thanks, |
I can't reproduce this without extra actions, so if you had a an example build where it fails, that would be great. Thanks! |
No problem, here's a more simplified workflow that replicates the error: Report log: |
And here's an even more minimal example using only Windows: Workflow file: Report log: |
Works if I run it in the default shell, instead of bash: https://github.com/gaborcsardi/rworkflows/actions/runs/3733006773 |
I see, interesting! Actions requires that I provide the interpreter, but if I can figure out to to explicitly define whatever the default is, it will hopefully work. Let me give that a go and I'll let you know what happens. |
Ok, so here's what I've learned: Trying different shells
|
This is the syntax for |
So you'd need to add tlmgr to the (Git) bash path as well to make it work. |
I thought that was the purpose of |
We call the GitHub Action API to set the PATH, I think that's the right thing to do: actions/setup-tinytex/src/setup-tinytex.ts Line 123 in b9ac772
|
ok, but it still stands that pwsh is unable to find |
No, it works with |
I see, so comparing our workflows, it seems omitting Not sure I fully understand what this syntax means, but I think it might be specifying a different shell than the one that Thanks for clarifying! |
I think this can be safely closed @gaborcsardi . I'll leave it up to you whether you'd like to add a note about shells in the documentation. Thanks for all your help! |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue |
Describe the bug
Following the instructions here do not seem to work on Windows. I don't see any notes on Windows behaving any differently either.
https://github.com/r-lib/actions/tree/v2-branch/setup-tinytex#ctan-packages
See GHA report here:
https://github.com/neurogenomics/rworkflows/actions/runs/3725655507/jobs/6318599061#step:2:502
To Reproduce
Run the example code given in the documentation within any GHA workflow that uses the windows-latest runner.
Expected behavior
Instructions should work on all major platforms.
Additional context
Originally identified here #670
Thanks,
Brian
The text was updated successfully, but these errors were encountered: