Skip to content

Commit 86f6b0e

Browse files
committed
dev: pin python for deploy workflow
1 parent f70bca4 commit 86f6b0e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/deploy-distributables.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,15 @@ jobs:
159159
token: ${{ secrets.ACCESS_TOKEN }}
160160
path: userguide
161161

162+
- name: Setup Python
163+
uses: actions/setup-python@v5
164+
with:
165+
python-version: '3.12'
166+
162167
- name: Install Sphinx
163168
run: |
164-
sudo apt install python3-sphinx
165-
sudo pip3 install sphinxcontrib-phpdomain
166-
sudo pip3 install sphinx_rtd_theme
169+
python -m pip install --upgrade pip
170+
pip install -r ./source/user_guide_src/requirements.txt
167171
168172
- name: Chmod
169173
run: chmod +x ./source/.github/scripts/deploy-userguide

0 commit comments

Comments
 (0)