Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
pwd
tree -L 2
git clone https://github.com/python/cpython.git venv/cpython/
# Install the doc requirements of the commit `make` builds, not of main.
git -C venv/cpython checkout "$(sed -n 's/^CPYTHON_CURRENT_COMMIT := //p' Makefile)"
pip install -r venv/cpython/Doc/requirements.txt
- name: Make
run: make
3 changes: 2 additions & 1 deletion .github/workflows/update_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
- uses: actions/checkout@v4

- name: Clone CPython Repo
run: git clone https://github.com/python/cpython venv/cpython
# Clone the target branch so its own Doc/requirements.txt is installed below.
run: git clone --branch ${{ github.ref_name }} https://github.com/python/cpython venv/cpython

- name: Set Up Python 3.12
uses: actions/setup-python@v5
Expand Down
Loading