File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8282 name : wheel-linux-x86_64-py${{ matrix.python-version }}
8383 path : dist/*.whl
8484 retention-days : 7
85+
86+ build-docs :
87+ name : Build docs
88+ runs-on : ubuntu-latest
89+ timeout-minutes : 15
90+ needs : build-wheel
91+ steps :
92+ - name : Checkout repository
93+ uses : actions/checkout@v6
94+
95+ - name : Set up Python
96+ uses : actions/setup-python@v6
97+ with :
98+ python-version : " 3.10"
99+
100+ - name : Download wheel artifact
101+ uses : actions/download-artifact@v5
102+ with :
103+ name : wheel-linux-x86_64-py3.10
104+ path : dist/
105+
106+ - name : Install dependencies
107+ run : |
108+ python -m pip install --upgrade pip
109+ pip install dist/*.whl
110+ pip install -r docs/requirements.txt
111+
112+ - name : Build documentation
113+ run : |
114+ cd docs
115+ make html
116+
117+ - name : Upload documentation artifact
118+ uses : actions/upload-artifact@v5
119+ with :
120+ name : docs-html
121+ path : docs/build/html/
122+ retention-days : 7
You can’t perform that action at this time.
0 commit comments