This is an automated email from the ASF dual-hosted git repository. mgrigorov pushed a commit to branch install-uv-for-docs-workflow in repository https://gitbox.apache.org/repos/asf/avro.git
commit 7ecd21d7bebc8a771ea19da61892202c9db65395 Author: Martin Tzvetanov Grigorov <[email protected]> AuthorDate: Mon Feb 23 10:40:07 2026 +0200 AVRO-4232: Install uv for the Python docs build --- .github/workflows/deploy-docs.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 3f64a91dac..f542e3e1ad 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -52,7 +52,7 @@ jobs: - name: Install Node.js dependencies working-directory: doc/ - run: ls -lah && npm ci + run: npm ci - name: Build with Hugo working-directory: doc/ env: @@ -144,7 +144,7 @@ jobs: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - + - name: 'Setup Maven' uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5 with: @@ -181,8 +181,8 @@ jobs: with: python-version: 3.11 - - name: Install tox - run: python3 -m pip install tox + - name: Setup uv + uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 - name: Build docs working-directory: lang/py @@ -215,7 +215,7 @@ jobs: with: name: api-rust path: target/doc - + push-website: name: Push website @@ -231,7 +231,7 @@ jobs: run: | set -x sudo apt-get update -q - sudo apt-get install -q -y subversion + sudo apt-get install -q -y subversion - name: Download website uses: actions/download-artifact@v7 @@ -288,7 +288,7 @@ jobs: mv api-java/* $WEBSITE_API/java/ mv api-python/* $WEBSITE_API/py/ mv api-rust/* $WEBSITE_API/rust/ - rmdir api-c api-c++ api-csharp api-python api-rust api-java + rmdir api-c api-c++ api-csharp api-python api-rust api-java - name: Checkout old docs versions from Subversion run: | @@ -310,7 +310,7 @@ jobs: git rm -rf * - mv ${{ runner.temp }}/website/* . + mv ${{ runner.temp }}/website/* . echo "publish: whoami: asf-site " > .asf.yaml @@ -320,4 +320,3 @@ jobs: git switch asf-site git reset --hard asf-site-staging git push origin asf-site --force -
