Bump actions/upload-artifact from 5 to 6 #332
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: Build documentation | |
| on: | |
| pull_request: | |
| branches: [main] | |
| workflow_call: | |
| workflow_dispatch: | |
| env: | |
| DEB_PYTHON_INSTALL_LAYOUT: deb_system | |
| DISPLAY: ":99.0" | |
| jobs: | |
| build: | |
| name: Test on ${{ matrix.label }} | |
| runs-on: ubuntu-24.04 | |
| container: ghcr.io/fenics/dolfinx/dolfinx:${{ matrix.label }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| label: ["stable", "nightly"] | |
| env: | |
| PUBLISH_DIR: ./_build/html | |
| PYVISTA_OFF_SCREEN: false | |
| PYVISTA_JUPYTER_BACKEND: "html" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install dependencies for pyvista | |
| run: apt-get update && apt-get install -y libgl1-mesa-dev mesa-utils | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install -r build-requirements.txt | |
| python3 -m pip install --check-build-dependencies --no-build-isolation ".[docs]" | |
| - name: Build docs | |
| run: jupyter book build --keep-going . | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| path: ${{ env.PUBLISH_DIR }} | |
| name: ${{ matrix.label }}-docs |