Skip to content

Commit 7be3b50

Browse files
ci: use correct python/pip command for every platform
1 parent ed58b64 commit 7be3b50

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
@@ -34,7 +34,7 @@ jobs:
3434
run: bash ./scripts/generate-linux.sh
3535

3636
- name: "Install build"
37-
run: pip install build
37+
run: ${PYBIN}/pip install build
3838

3939
- name: "Build wheel"
4040
# 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
@@ -31,16 +31,16 @@ jobs:
3131
run: bash ./scripts/generate-linux.sh
3232

3333
- name: "Install Sphinx and Theme"
34-
run: pip install sphinx sphinx_rtd_theme
34+
run: pip3 install sphinx sphinx_rtd_theme
3535

3636
- name: "Generate python API Documentation"
37-
run: python ./docs/generate_docs.py
37+
run: python3 ./docs/generate_docs.py
3838

3939
- name: "Build HTML Documentation"
40-
run: python -m sphinx -b html -W --keep-going docs/source docs/_build/html
40+
run: python3 -m sphinx -b html -W --keep-going docs/source docs/_build/html
4141

4242
- name: "Upload API Docs"
4343
uses: actions/upload-artifact@v4
4444
with:
4545
name: artifact-bdkpython-api-docs
46-
path: /home/runner/work/bdk-python/bdk-python/docs/_build/html
46+
path: /home/runner/work/bdk-python/bdk-python/docs/_build/html

0 commit comments

Comments
 (0)