Skip to content

Commit

Permalink
Use the python build action to create wheel for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmclean committed Aug 3, 2023
1 parent cb1230f commit d900c1d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build-python-pdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install python build
run: python -m pip install build
shell: bash
- name: Building Python Wheel for documentation generation
run: python -m build --wheel --outdir documentation_dist
shell: bash
- name: Build wheel for documentation
uses: ./.github/actions/build
- name: "Run Reference Documentation Generation"
run: |
pip install pdoc pipdeptree
pip install documentation_dist/*.whl
pip install dist/*.whl
echo "documentation" > dependencies_documentation.txt
pipdeptree >> dependencies_documentation.txt
pdoc -o docs/python/html diskannpy
Expand Down

0 comments on commit d900c1d

Please sign in to comment.