mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-07-21 12:41:10 +02:00
CI: build docs and demos on push
This commit is contained in:
25
.github/workflows/ci-build.yml
vendored
25
.github/workflows/ci-build.yml
vendored
@@ -81,6 +81,30 @@ jobs:
|
||||
name: wxPython-source
|
||||
path: dist/wxPython-${{ steps.generate.outputs.version }}.tar.gz
|
||||
|
||||
- name: Create demo source distribution (sdist_demo)
|
||||
if: github.event_name == 'push'
|
||||
run: |
|
||||
python build.py sdist_demo
|
||||
|
||||
- name: Save demo sdist as job artifact
|
||||
if: github.event_name == 'push'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: demo
|
||||
path: dist/wxPython-demo-${{ steps.generate.outputs.version }}.tar.gz
|
||||
|
||||
- name: Build documentation
|
||||
if: github.event_name == 'push'
|
||||
run: |
|
||||
python build.py wxlib sphinx bdist_docs docset_py
|
||||
|
||||
- name: Save docs as job artifact
|
||||
if: github.event_name == 'push'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: docs
|
||||
path: dist/wxPython-docs*-${{ steps.generate.outputs.version }}.tar.gz
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
@@ -222,6 +246,7 @@ jobs:
|
||||
- name: Download all the dists
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
pattern: wxPython-*
|
||||
path: dist/
|
||||
merge-multiple: true
|
||||
- name: Publish distribution to PyPI
|
||||
|
Reference in New Issue
Block a user