Skip to content

Commit 48e0d4c

Browse files
committed
add build step to release workflow
1 parent 39c47d7 commit 48e0d4c

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/publish.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,22 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v2
1919
with:
20-
python-version: '3.x'
20+
python-version: '3.7'
21+
22+
- name: Install pep517
23+
run: >-
24+
python -m
25+
pip install
26+
pep517
27+
--user
28+
29+
- name: Build a binary wheel and a source tarball
30+
run: >-
31+
python -m
32+
pep517.build
33+
--source
34+
--binary
35+
--out-dir dist/
2136
2237
- name: Publish package
2338
uses: pypa/gh-action-pypi-publish@master

0 commit comments

Comments
 (0)