Skip to content

Commit bb170a5

Browse files
committed
Build: added sdist
Signed-off-by: Tim Lehr <tim.lehr@disneyanimation.com>
1 parent 706b994 commit bb170a5

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

.github/workflows/build.yaml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ jobs:
169169
- name: Install UV
170170
uses: astral-sh/setup-uv@v6
171171
with:
172-
# Install a specific version of UV.
173172
version: "0.8.22"
174173
python-version: ${{ matrix.python-version }}
175174
- name: Install Python
@@ -180,5 +179,30 @@ jobs:
180179
- name: Archive Python wheel
181180
uses: actions/upload-artifact@v4
182181
with:
183-
name: raven-wheel-linux-py3-${{ matrix.os }}
184-
path: dist/*.whl
182+
name: wheels
183+
path: dist/*.whl
184+
package_sdist:
185+
runs-on: ubuntu-22.04
186+
steps:
187+
- uses: actions/checkout@v4
188+
with:
189+
fetch-depth: 1
190+
submodules: recursive
191+
- name: Install Dependencies
192+
run: |
193+
sudo apt-get update
194+
sudo apt-get install -y libglfw3-dev libgtk-3-dev
195+
- name: Install UV
196+
uses: astral-sh/setup-uv@v6
197+
with:
198+
version: "0.8.22"
199+
- name: Install Python
200+
run: uv python install
201+
- name: Build Python wheel
202+
run: |
203+
uv build --sdist
204+
- name: Archive Python sdist
205+
uses: actions/upload-artifact@v4
206+
with:
207+
name: sdist
208+
path: dist/*.tar.gz

0 commit comments

Comments
 (0)