File tree Expand file tree Collapse file tree 2 files changed +39
-11
lines changed Expand file tree Collapse file tree 2 files changed +39
-11
lines changed Original file line number Diff line number Diff line change
1
+ name : Documentation
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - ' master'
8
+ - ' release-'
9
+ tags : ' *'
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ${{ matrix.os }}
14
+ strategy :
15
+ matrix :
16
+ julia-version : [1]
17
+ os : [ubuntu-latest]
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - uses : julia-actions/setup-julia@latest
21
+ with :
22
+ version : ${{ matrix.julia-version }}
23
+ - name : Cache artifacts
24
+ uses : actions/cache@v1
25
+ env :
26
+ cache-name : cache-artifacts
27
+ with :
28
+ path : ~/.julia/artifacts
29
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
30
+ restore-keys : |
31
+ ${{ runner.os }}-test-${{ env.cache-name }}-
32
+ ${{ runner.os }}-test-
33
+ ${{ runner.os }}-
34
+ - name : Install dependencies
35
+ run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
36
+ - name : Build and deploy
37
+ env :
38
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
+ run : julia --project=docs/ docs/make.jl
Original file line number Diff line number Diff line change @@ -15,14 +15,3 @@ notifications:
15
15
after_success :
16
16
# push coverage results to Codecov
17
17
- julia -e 'using Pkg, OffsetArrays; cd(joinpath(dirname(pathof(OffsetArrays)), "..")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
18
-
19
- jobs :
20
- include :
21
- - stage : " Documentation"
22
- julia : 1
23
- os : linux
24
- script :
25
- - julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
26
- Pkg.instantiate()'
27
- - julia --project=docs/ docs/make.jl
28
- after_success : skip
You can’t perform that action at this time.
0 commit comments