File tree Expand file tree Collapse file tree 3 files changed +12
-13
lines changed Expand file tree Collapse file tree 3 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 23
23
arch :
24
24
- x64
25
25
steps :
26
- - uses : actions/checkout@v2
26
+ - uses : actions/checkout@v4
27
27
- uses : julia-actions/setup-julia@v1
28
28
with :
29
29
version : ${{ matrix.version }}
Original file line number Diff line number Diff line change 9
9
tags : ' *'
10
10
jobs :
11
11
docs :
12
+ permissions :
13
+ contents : write
14
+ statuses : write
12
15
name : Documentation
13
16
runs-on : ubuntu-latest
14
17
steps :
15
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@v4
16
19
- uses : julia-actions/setup-julia@v1
17
20
with :
18
21
version : ' 1'
19
- - run : |
20
- julia --project -e '
21
- using Pkg
22
- Pkg.instantiate()'
23
- julia --project=docs -e '
24
- using Pkg
25
- Pkg.instantiate()'
26
- - run : julia --project=docs docs/make.jl
22
+ - name : Install dependencies
23
+ run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
24
+ - name : Build and deploy
27
25
env :
28
26
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29
- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
27
+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
28
+ run : julia --project=docs/ docs/make.jl
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ jobs:
19
19
- uses : julia-actions/setup-julia@v1
20
20
with :
21
21
version : ' 1'
22
- - uses : actions/checkout@v3
22
+ - uses : actions/checkout@v4
23
23
- uses : julia-actions/julia-buildpkg@v1
24
24
- uses : julia-actions/julia-invalidations@v1
25
25
id : invs_pr
26
26
27
- - uses : actions/checkout@v3
27
+ - uses : actions/checkout@v4
28
28
with :
29
29
ref : ${{ github.event.repository.default_branch }}
30
30
- uses : julia-actions/julia-buildpkg@v1
You can’t perform that action at this time.
0 commit comments