|
13 | 13 | workflow_dispatch: |
14 | 14 |
|
15 | 15 | jobs: |
16 | | - build-core-spec: |
17 | | - runs-on: ubuntu-latest |
18 | | - steps: |
19 | | - - name: Checkout repo |
20 | | - uses: actions/checkout@v2 |
21 | | - with: |
22 | | - submodules: "recursive" |
23 | | - - name: Setup Node.js |
24 | | - uses: actions/setup-node@v3 |
25 | | - with: |
26 | | - node-version: 16 |
27 | | - - name: Setup Bikeshed |
28 | | - run: pip install bikeshed && bikeshed update |
29 | | - - name: Setup TexLive |
30 | | - run: sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended |
31 | | - - name: Setup Sphinx |
32 | | - run: pip install six && pip install sphinx==5.1.0 |
33 | | - - name: Build main spec |
34 | | - run: cd document/core && make main |
35 | | - - name: Run Bikeshed |
36 | | - run: cd document/core && make bikeshed |
37 | | - - name: Upload artifact |
38 | | - uses: actions/upload-artifact@v4 |
39 | | - with: |
40 | | - name: core-rendered |
41 | | - path: document/core/_build/html |
42 | | - |
43 | 16 | build-js-api-spec: |
44 | 17 | runs-on: ubuntu-latest |
45 | 18 | steps: |
|
70 | 43 | name: web-api-rendered |
71 | 44 | path: document/web-api/index.html |
72 | 45 |
|
73 | | - build-code-metadata-spec: |
74 | | - runs-on: ubuntu-latest |
75 | | - needs: [build-core-spec] |
76 | | - steps: |
77 | | - - name: Checkout repo |
78 | | - uses: actions/checkout@v2 |
79 | | - with: |
80 | | - submodules: "recursive" |
81 | | - - name: Setup TexLive |
82 | | - run: sudo apt-get update -y && sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended |
83 | | - - name: Setup Sphinx |
84 | | - run: pip install six && pip install sphinx==5.1.0 |
85 | | - - name: Build main spec |
86 | | - run: cd document/metadata/code && make main |
87 | | - - name: Upload artifact |
88 | | - uses: actions/upload-artifact@v4 |
89 | | - with: |
90 | | - name: code-metadata-rendered |
91 | | - path: document/metadata/code/_build/html |
92 | | - |
93 | 46 | build-legacy-exceptions-core-spec: |
94 | 47 | runs-on: ubuntu-latest |
95 | 48 | steps: |
|
0 commit comments