Update publish-python-apidocs.yml (#12433)

This commit is contained in:
Changming Sun 2022-08-03 10:17:00 -07:00 committed by GitHub
parent b622e5fa9b
commit 44ec2cf088
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 6 deletions

View file

@ -12,16 +12,16 @@ jobs:
- uses: actions/checkout@v2
- name: Install tools
run: |
sudo apt update
sudo apt-get install pip
sudo apt-get update
sudo apt-get install python3-pip
sudo apt-get install graphviz
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
cd docs/python
pip install -r requirements.txt
pip install flatbuffers protobuf==3.19.1
pip install -i https://test.pypi.org/simple/ ort-nightly
pip list
python3 -m pip install -r requirements.txt
python3 -m pip install -i https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/ ort-nightly
python3 -m pip list
- name: Generate Python docs with Sphinx
run: |
cd tools/doc

View file

@ -9,3 +9,10 @@ sphinx_rtd_theme
pyquickhelper
pandas
pydot
coloredlogs
flatbuffers
numpy
packaging
protobuf
sympy
onnx