Skip to content

Commit 0bd2920

Browse files
committed
Revert "remove builds"
This reverts commit 78941e1.
1 parent 0617069 commit 0bd2920

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/python-publish.yml

+28
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,38 @@ on:
88
types: [published]
99

1010
jobs:
11+
build_wheels:
12+
name: Build wheels on ${{ matrix.os }}
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest, windows-latest, macos-latest]
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
21+
# Used to host cibuildwheel
22+
- uses: actions/setup-python@v2
23+
24+
- name: Install package
25+
run: python -m pip install -U manim tqdm
26+
27+
- name: Install cibuildwheel
28+
run: python -m pip install -U setuptools wheel pip
29+
30+
- name: Build wheels
31+
run: python setup.py sdist
32+
33+
- uses: actions/upload-artifact@v2
34+
with:
35+
name: dist
36+
path: dist/*.tar.*
37+
1138
release:
1239
name: Release
1340
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
1441
runs-on: ubuntu-latest
42+
needs: [ build_wheels ]
1543
steps:
1644
- uses: actions/download-artifact@v2
1745
with:

0 commit comments

Comments
 (0)