-
Notifications
You must be signed in to change notification settings - Fork 67
37 lines (35 loc) · 1.47 KB
/
multidocs.yml
File metadata and controls
37 lines (35 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Docs
on:
push:
branches:
- master
tags: '*'
pull_request:
jobs:
docs:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v2
with:
version: '1.12.2' # set to '1' after 1.12.4 release, see https://github.com/JuliaLang/Pkg.jl/pull/4568
- uses: julia-actions/cache@v3
# Build individual docs
- run: julia --project=GNNGraphs/docs/ -e 'using Pkg; Pkg.instantiate()'
- run: julia --color=yes --project=GNNGraphs/docs/ GNNGraphs/docs/make.jl
- run: julia --project=GNNlib/docs/ -e 'using Pkg; Pkg.instantiate()'
- run: julia --color=yes --project=GNNlib/docs/ GNNlib/docs/make.jl
- run: julia --project=GNNLux/docs/ -e 'using Pkg; Pkg.instantiate()'
- run: julia --color=yes --project=GNNLux/docs/ GNNLux/docs/make.jl
- run: julia --project=GraphNeuralNetworks/docs/ -e 'using Pkg; Pkg.instantiate()'
- run: julia --color=yes --project=GraphNeuralNetworks/docs/ GraphNeuralNetworks/docs/make.jl
# Compile multi docs
- name: MultiDocs
run: |
git config user.name github-actions
git config user.email github-actions@github.com
julia --project=docs/ -e 'using Pkg; Pkg.instantiate()'
julia --color=yes --project=docs/ docs/make-multi.jl