Skip to content

Commit e7a2700

Browse files
ci: use correct python/pip command for every platform
1 parent 042a1b7 commit e7a2700

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/publish-python.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: bash ./scripts/generate-linux.sh
3838

3939
- name: "Install build"
40-
run: pip install build
40+
run: ${PYBIN}/pip install build
4141

4242
- name: "Build wheel"
4343
# Specifying the plat-name argument is necessary to build a wheel with the correct name,

.github/workflows/python-api-docs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ jobs:
3434
run: bash ./scripts/generate-linux.sh
3535

3636
- name: "Install Sphinx and Theme"
37-
run: pip install sphinx sphinx_rtd_theme
37+
run: pip3 install sphinx sphinx_rtd_theme
3838

3939
- name: "Generate python API Documentation"
40-
run: python ./docs/generate_docs.py
40+
run: python3 ./docs/generate_docs.py
4141

4242
- name: "Build HTML Documentation"
43-
run: python -m sphinx -b html -W --keep-going docs/source docs/_build/html
43+
run: python3 -m sphinx -b html -W --keep-going docs/source docs/_build/html
4444

4545
- name: "Upload API Docs"
4646
uses: actions/upload-artifact@v4
4747
with:
4848
name: artifact-bdkpython-api-docs
49-
path: /home/runner/work/bdk-python/bdk-python/docs/_build/html
49+
path: /home/runner/work/bdk-python/bdk-python/docs/_build/html

0 commit comments

Comments
 (0)