From 021b67f67bc30a524dca08bf24815530adc95212 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Mon, 9 Sep 2024 22:20:38 -0400 Subject: [PATCH] CI: fix building docs --- .github/workflows/ci-build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 55449250..faff8135 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -140,7 +140,7 @@ jobs: short_name=win32 fi fi - if [ ${{ matrix.os }} == ubuntu-22.04 ] && [ ${{ matrix.python-version }} == 3.12 ] && [ ${{ github.event_name }} == 'push' ]; then + if [ ${{ matrix.os }} == ubuntu-22.04 ] && [ ${{ matrix.python-version }} == 3.10 ] && [ ${{ github.event_name }} == 'push' ]; then build_docs=yes else build_docs=no @@ -223,12 +223,12 @@ jobs: path: dist/wxPython-*.whl - name: Build documentation - if: ${{ steps.init.outputs.build_docs }} == 'yes' + if: ${{ steps.init.outputs.build_docs == 'yes' }} run: | - python build.py wxlib sphinx bdist_docs docset_py + python build.py setrev wxlib sphinx bdist_docs docset_py - name: Save docs as job artifact - if: ${{ steps.init.outputs.build_docs }} == 'yes' + if: ${{ steps.init.outputs.build_docs == 'yes' }} uses: actions/upload-artifact@v4 with: name: docs