File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -11,23 +11,23 @@ jobs:
11
11
contents : write
12
12
steps :
13
13
- uses : actions/checkout@v4
14
- - name : Pre-build Setup
15
- run : |
16
- apt-get update -y && \
17
- apt-get install -y gcc python3-dev libpq-dev
18
- # Find pg_config and add it to PATH if not found
19
- if ! command -v pg_config &> /dev/null; then
20
- PG_CONFIG_PATH=$(find /usr/lib/postgresql -type f -name pg_config | head -n 1)
21
- if [ -n "$PG_CONFIG_PATH" ]; then
22
- export PATH=$(dirname "$PG_CONFIG_PATH"):$PATH
23
- else
24
- echo "pg_config not found, exiting..." >&2
25
- exit 1
26
- fi
27
- fi
28
- pg_config --version
29
14
- name : Build HTML
30
15
uses : ammaraskar/sphinx-action@master
16
+ with :
17
+ pre-build-command : |
18
+ apt-get update -y && \
19
+ apt-get install -y gcc python3-dev libpq-dev
20
+ # Find pg_config and add it to PATH if not found
21
+ if ! command -v pg_config &> /dev/null; then
22
+ PG_CONFIG_PATH=$(find /usr/lib/postgresql -type f -name pg_config | head -n 1)
23
+ if [ -n "$PG_CONFIG_PATH" ]; then
24
+ export PATH=$(dirname "$PG_CONFIG_PATH"):$PATH
25
+ else
26
+ echo "pg_config not found, exiting..." >&2
27
+ exit 1
28
+ fi
29
+ fi
30
+ pg_config --version
31
31
env :
32
32
SETUPTOOLS_SCM_PRETEND_VERSION : 1
33
33
- name : Upload artifacts
You can’t perform that action at this time.
0 commit comments