Bump actions/upload-artifact from 4 to 5 #102
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test the documentation build | |
| on: [pull_request, workflow_dispatch] | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pip' | |
| cache-dependency-path: 'docs/requirements.txt' | |
| - run: | | |
| python -m pip install -r docs/requirements.txt | |
| python -m pip install . | |
| - run: | | |
| python -m sphinx -b html -d docs/build/doctrees docs/source docs/build/html | |
| - uses: actions/upload-artifact@v5 | |
| with: | |
| name: documentation | |
| path: | | |
| docs/build/ | |
| !docs/build/doctrees/ |