Skip to content

Commit 2fbf663

Browse files
Add additional apt-packages to docs
1 parent 7d1f075 commit 2fbf663

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ on:
2222
type: string
2323
default: ''
2424

25+
additional-apt-packages:
26+
description: 'Additional APT packages to install'
27+
required: false
28+
type: string
29+
default: ''
30+
2531
jobs:
2632
Docs:
2733
runs-on: ubuntu-24.04
@@ -39,6 +45,12 @@ jobs:
3945
with:
4046
python-version: '3.11'
4147

48+
# We could combine this with the doxygen command below, but in practise
49+
# they are used mutually exclusively so there's nothing to be gained
50+
# in making one apt install.
51+
- name: Install additional APT packages
52+
if: ${{ inputs.additional-apt-packages != '' }}
53+
run: sudo apt-get update && sudo apt-get install -y ${{ inputs.additional-apt-packages }}
4254

4355
- name: Install uv
4456
uses: astral-sh/setup-uv@v6

0 commit comments

Comments
 (0)