Disable building manual

This commit is contained in:
Mark Qvist 2024-12-05 16:36:44 +01:00
parent 7e3979dac0
commit db1380c413

View File

@ -18,7 +18,7 @@ permissions:
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false cancel-in-progress: true
jobs: jobs:
test: test:
@ -53,29 +53,29 @@ jobs:
name: package name: package
path: dist/*.whl path: dist/*.whl
documentation: # documentation:
needs: test # needs: test
if: startsWith(github.ref, 'refs/tags/') # if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest # runs-on: ubuntu-latest
environment: ${{ contains(github.ref, '-') && 'development' || 'production' }} # environment: ${{ contains(github.ref, '-') && 'development' || 'production' }}
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- uses: actions/setup-python@v5 # - uses: actions/setup-python@v5
with: # with:
python-version: 3.x # python-version: 3.x
- run: | # - run: |
sudo apt-get -qq update && sudo apt-get -qq install latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended # sudo apt-get -qq update && sudo apt-get -qq install latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
python -m pip -q install sphinx sphinx-copybutton # python -m pip -q install sphinx sphinx-copybutton
cd docs && make latexpdf && make epub # cd docs && make latexpdf && make epub
- uses: actions/upload-artifact@v4 # - uses: actions/upload-artifact@v4
with: # with:
name: documentation # name: documentation
path: | # path: |
docs/build/latex/*.pdf # docs/build/latex/*.pdf
docs/build/epub/*.epub # docs/build/epub/*.epub
release: release:
needs: [package, documentation] needs: [package]
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: ${{ contains(github.ref, '-') && 'development' || 'production' }} environment: ${{ contains(github.ref, '-') && 'development' || 'production' }}