How do I get CI to use the nightly version of Julia for Documenter-produced documentation?

How do I get CI to use the nightly version of Julia for Documenter-produced documentation? It currently uses 1.7.2 but my package requires 1.8beta3. I can’t figure out how to do it.

(I’d asked a similar question on the General group yesterday, but it seems better suited here)

Thanks!!

If you use the default PkgTemplates.jl GitHub Actions template, you just need to change the line in the Documentation job where the version is supplied to setup-julia.

For example, you would change this line:

to version: 'nightly' instead of version: '1'.

1 Like