Skip to content

Commit 11a48a1

Browse files
committed
Archive build files for easy uploading later
1 parent cafa1f3 commit 11a48a1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/lint.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,25 @@ jobs:
2525
2626
- name: Run `tox -e lint`
2727
run: python -m tox -e lint
28+
29+
build:
30+
name: Build sdist and wheel
31+
runs-on: ubuntu-latest
32+
# Linting verifies that the project is in an acceptable state to create files
33+
# for releasing.
34+
# And this action should be run whenever a release is ready to go public as
35+
# the version number will be changed by editing __about__.py.
36+
needs: lint
37+
38+
steps:
39+
- name: Install dependencies
40+
run: python -m pip install --upgrade setuptools wheel
41+
42+
- name: Build
43+
run: python setup.py sdist bdist_wheel
44+
45+
- name: Archive files
46+
uses: actions/upload-artifact@v1
47+
with:
48+
name: dist
49+
path: dist

0 commit comments

Comments
 (0)