julia-actions / julia-docdeploy

MIT License
19 stars 13 forks source link

Adding a prefix causes action to fail #35

Open asinghvi17 opened 3 months ago

asinghvi17 commented 3 months ago

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 commented 2 months ago

I think you just want

with:
    prefix: xvfb-run
asinghvi17 commented 2 months ago

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 commented 2 months ago

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 commented 1 month ago

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