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

**URL:** <https://discourse.julialang.org/t/how-do-i-get-ci-to-use-the-nightly-version-of-julia-for-documenter-produced-documentation/81467>\
**Category:** Tooling\
**Tags:** documenter, github, ci\
**Created:** [May 22, 2022, 5:27pm UTC](https://discourse.julialang.org/t/how-do-i-get-ci-to-use-the-nightly-version-of-julia-for-documenter-produced-documentation/81467 "2022-05-22T17:27:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joris\_Pinkse](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joris_pinkse/32/216398_2.png) [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Post date:** [May 22, 2022, 5:27pm UTC](https://discourse.julialang.org/t/how-do-i-get-ci-to-use-the-nightly-version-of-julia-for-documenter-produced-documentation/81467/1 "2022-05-22T17:27:05Z")

</div>

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!!

---

<div class="post-metadata">

**Author:** ![simeonschaub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simeonschaub/32/216566_2.png) [@simeonschaub](https://discourse.julialang.org/u/simeonschaub)\
**Post date:** [May 22, 2022, 5:57pm UTC](https://discourse.julialang.org/t/how-do-i-get-ci-to-use-the-nightly-version-of-julia-for-documenter-produced-documentation/81467/2 "2022-05-22T17:57:19Z")

</div>

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:

> <https://github.com/simeonschaub/ArtifactUtils.jl/blob/afef736bba9d8c8208b800fa156ff7f932bbc006/.github/workflows/ci.yml#L57>

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