julia-actions / setup-julia

This action sets up a Julia environment for use in actions by downloading a specified version of Julia and adding it to PATH.
MIT License
93 stars 23 forks source link

[Docs / Best Practices]: `ERROR: Jupyter kernel 'julia-1.9' not found.` #190

Closed jdossgollin closed 4 months ago

jdossgollin commented 9 months ago

I'm using GH Actions to compile and publish a Quarto notebook with Julia code in it and trying to figure out the best way to set up Julia for use with Quarto. When I try to follow the Quarto / Julia docs, I get the following error:

ERROR: Jupyter kernel 'julia-1.9' not found.

To address this, I tried adding the step shown here ("Set up Julia environment.") However, this didn't fix the problem.

...

- name: Setup Julia
  uses: julia-actions/setup-julia@v1
  with:
    version: 1.9.4

- name: Set up Julia environment
  run: julia -e 'using Pkg; Pkg.activate("."); Pkg.instantiate(); Pkg.build("IJulia")'

...

What is the recommended way to set up Julia with the IJulia kernel?

Thanks!

ViralBShah commented 4 months ago

Does '1.9' work? and use the newer version of setup-julia?

Please reopen if still an issue.