Skip to content

Commit 3834065

Browse files
committed
CI: Make sure curl is installed whenever using "build_vendored.py"
1 parent 5a2d2f1 commit 3834065

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ jobs:
3939
git checkout 22e2cb44a
4040
pip install .
4141
- run: pip install -e .[dev]
42-
- run: ./build_vendored.py
42+
- name: Get vendored dependencies
43+
run: |
44+
apt-get --yes update
45+
apt-get --yes install curl
46+
./build_vendored.py
4347
- name: Collect and compress assets
4448
run: |
4549
django-admin collectstatic --noinput
@@ -77,7 +81,10 @@ jobs:
7781
git clone https://github.com/pretalx/pretalx.git
7882
pip install ./pretalx
7983
- run: pip install -e .[dev]
80-
- run: ./build_vendored.py
84+
- name: Get vendored dependencies
85+
run: |
86+
apt-get --yes install curl
87+
./build_vendored.py
8188
- name: Collect and compress assets
8289
run: |
8390
django-admin collectstatic --noinput
@@ -105,7 +112,11 @@ jobs:
105112
container: python:3.13-bookworm
106113
steps:
107114
- uses: actions/checkout@v4
108-
- run: pip install build
115+
- name: Install build dependencies
116+
run: |
117+
apt-get --yes update
118+
apt-get --yes install curl
119+
pip install build
109120
- run: make build
110121
- name: Archive build results
111122
uses: actions/upload-artifact@v4

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ jobs:
1212
container: python:3.13-bookworm
1313
steps:
1414
- uses: actions/checkout@v4
15-
- run: pip install build
15+
- name: Install build dependencies
16+
run: |
17+
apt-get --yes update
18+
apt-get --yes install curl
19+
pip install build
1620
- run: make build
1721
- name: Store build results
1822
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)