Skip to content
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

Adding a prefix causes action to fail #35

Open
asinghvi17 opened this issue Jun 9, 2024 · 4 comments
Open

Adding a prefix causes action to fail #35

asinghvi17 opened this issue Jun 9, 2024 · 4 comments

Comments

@asinghvi17
Copy link

I had a previously working (manual) action with the following Julia invocation:

xvfb-run -s '-screen 0 1024x768x24' julia ...

which was working fine. Transitioning to

uses: julia-actions/julia-docdeploy
with:
  prefix: xvfb-run -s 'screen 0 1024x768x24'

causes an error 'xvfb-run -s 'screen 0 1024x768x24': command not found`

You can see the output of the job here
https://github.com/JuliaPlots/MakieTeX.jl/actions/runs/9436669310/job/25991614390?pr=49#step:8:67
and this has occurred on other repos I tried to transition to this workflow as well...

@brian-dellabetta
Copy link

brian-dellabetta commented Jun 23, 2024

I think you just want

with:
    prefix: xvfb-run

@asinghvi17
Copy link
Author

asinghvi17 commented Jun 24, 2024

Hmm, that leaves this without the screen specification though. That might work but I have a feeling it won't. Will give it a shot.

@brian-dellabetta
Copy link

Ok good luck, I have it in my action here, without it I was having issues using GLMakie during the building of the docs

@LilithHafner
Copy link

I ran into this issue too, trying to pass the -a argument.

LilithHafner added a commit to LilithHafner/Tk.jl that referenced this issue Jul 19, 2024
LilithHafner added a commit to LilithHafner/Tk.jl that referenced this issue Jul 19, 2024
* add -a to normal doc builds bc build on master failed (even though PR build passed)

* inline docdeploy to hack around julia-actions/julia-docdeploy#35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants