Skip to content

Commit

Permalink
CI: fix building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
swt2c committed Sep 10, 2024
1 parent 1c3eb17 commit 021b67f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 021b67f

Please sign in to comment.