Skip to content

Commit c95262d

Browse files
authored
AVRO-4232: Install uv for the Python docs build (#3664)
1 parent 7ee89c2 commit c95262d

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: Install Node.js dependencies
5454
working-directory: doc/
55-
run: ls -lah && npm ci
55+
run: npm ci
5656
- name: Build with Hugo
5757
working-directory: doc/
5858
env:
@@ -144,7 +144,7 @@ jobs:
144144
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
145145
restore-keys: |
146146
${{ runner.os }}-maven-
147-
147+
148148
- name: 'Setup Maven'
149149
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
150150
with:
@@ -181,8 +181,8 @@ jobs:
181181
with:
182182
python-version: 3.11
183183

184-
- name: Install tox
185-
run: python3 -m pip install tox
184+
- name: Setup uv
185+
uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867
186186

187187
- name: Build docs
188188
working-directory: lang/py
@@ -215,7 +215,7 @@ jobs:
215215
with:
216216
name: api-rust
217217
path: target/doc
218-
218+
219219

220220
push-website:
221221
name: Push website
@@ -231,7 +231,7 @@ jobs:
231231
run: |
232232
set -x
233233
sudo apt-get update -q
234-
sudo apt-get install -q -y subversion
234+
sudo apt-get install -q -y subversion
235235
236236
- name: Download website
237237
uses: actions/download-artifact@v7
@@ -288,7 +288,7 @@ jobs:
288288
mv api-java/* $WEBSITE_API/java/
289289
mv api-python/* $WEBSITE_API/py/
290290
mv api-rust/* $WEBSITE_API/rust/
291-
rmdir api-c api-c++ api-csharp api-python api-rust api-java
291+
rmdir api-c api-c++ api-csharp api-python api-rust api-java
292292
293293
- name: Checkout old docs versions from Subversion
294294
run: |
@@ -310,7 +310,7 @@ jobs:
310310
311311
git rm -rf *
312312
313-
mv ${{ runner.temp }}/website/* .
313+
mv ${{ runner.temp }}/website/* .
314314
echo "publish:
315315
whoami: asf-site
316316
" > .asf.yaml
@@ -320,4 +320,3 @@ jobs:
320320
git switch asf-site
321321
git reset --hard asf-site-staging
322322
git push origin asf-site --force
323-

0 commit comments

Comments
 (0)