File tree Expand file tree Collapse file tree 1 file changed +15
-19
lines changed Expand file tree Collapse file tree 1 file changed +15
-19
lines changed Original file line number Diff line number Diff line change 4747 - uses : julia-actions/setup-julia@v2
4848 with :
4949 version : ' 1'
50- - run : |
51- julia --project=docs -e '
52- using Pkg
53- Pkg.develop(PackageSpec(path=pwd()))
54- Pkg.instantiate()'
55- env:
56- JULIA_PKG_SERVER: ''
57- - run : julia --project=docs docs/make.jl
50+ - uses : julia-actions/cache@v2
51+ - uses : julia-actions/julia-docdeploy@v1
5852 env :
5953 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6054 DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
@@ -66,16 +60,18 @@ jobs:
6660 - uses : julia-actions/setup-julia@v2
6761 with :
6862 version : ' 1'
69- - run : |
70- julia --project=docs -e '
71- using Pkg
72- Pkg.develop(PackageSpec(path=pwd()))
73- Pkg.instantiate()'
63+ - name : Instantiate environment
64+ shell : julia --color=yes --project=docs {0}
65+ run : |
66+ using Pkg
67+ Pkg.develop(PackageSpec(path=pwd()))
68+ Pkg.instantiate()
7469 env :
7570 JULIA_PKG_SERVER : ' '
76- - run : |
77- julia --project=docs -e '
78- using Documenter: DocMeta, doctest
79- using CompatHelper
80- DocMeta.setdocmeta!(CompatHelper, :DocTestSetup, :(using CompatHelper); recursive=true)
81- doctest(CompatHelper)'
71+ - name : Run doctests
72+ shell : julia --color=yes --project=docs {0}
73+ run : |
74+ using Documenter: DocMeta, doctest
75+ using CompatHelper
76+ DocMeta.setdocmeta!(CompatHelper, :DocTestSetup, :(using CompatHelper); recursive=true)
77+ doctest(CompatHelper)
You can’t perform that action at this time.
0 commit comments