3737 - uses : actions/checkout@v6
3838 - uses : julia-actions/setup-julia@v2
3939 with :
40- version : " 1.12 "
40+ version : " 1"
4141 - uses : julia-actions/cache@v2
4242 id : julia-cache
4343 - name : Instantiate docs environment
@@ -82,18 +82,15 @@ jobs:
8282 - uses : actions/checkout@v6
8383 - uses : julia-actions/setup-julia@v2
8484 with :
85- version : " 1.12 "
85+ version : " 1"
8686 - uses : julia-actions/cache@v2
87- id : julia-cache
87+ with :
88+ # Steal cache from the build job
89+ - cache-name : " julia-cache;workflow=Documentation"
8890 - uses : actions/download-artifact@v6
8991 with :
9092 name : documentation-build
9193 path : docs/build
92- - name : Remove extra files
93- # There may be JLD2 files generated during execution of Literate
94- # examples, we don't need them on the website.
95- run :
96- rm -fv docs/build/literated/*.jld2
9794 - name : Instantiate docs environment
9895 shell : julia --color=yes {0}
9996 run : |
@@ -107,11 +104,3 @@ jobs:
107104 env :
108105 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
109106 DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
110- - name : Save Julia depot cache on cancel or failure
111- id : julia-cache-save
112- if : cancelled() || failure()
113- uses : actions/cache/save@v4
114- with :
115- path : |
116- ${{ steps.julia-cache.outputs.cache-paths }}
117- key : ${{ steps.julia-cache.outputs.cache-key }}
0 commit comments