Allow archiving when using 'Update-Current-Version' #5501
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: "Guides Build Status" | |
| on: | |
| pull_request: | |
| paths: | |
| - "doc/sphinx-guides/**/*.rst" | |
| - "doc/sphinx-guides/**/requirements.txt" | |
| - "doc/sphinx-guides/**/conf.py" | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - id: lookup | |
| run: | | |
| echo "sphinx_version=$(grep Sphinx== ./doc/sphinx-guides/requirements.txt | tr -s "=" | cut -f 2 -d=)" | tee -a "${GITHUB_OUTPUT}" | |
| - run: | | |
| sudo apt-get update -q | |
| sudo apt-get install -qqy --no-install-recommends graphviz | |
| - uses: sphinx-notes/pages@v3 | |
| with: | |
| documentation_path: ./doc/sphinx-guides/source | |
| requirements_path: ./doc/sphinx-guides/requirements.txt | |
| sphinx_version: ${{ steps.lookup.outputs.sphinx_version }} | |
| sphinx_build_options: "-W" | |
| cache: false | |
| publish: false | |