Skip to content

Commit 17163d2

Browse files
committedSep 28, 2019
Improve workflow for packaging
1 parent 4365d6c commit 17163d2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed
 

‎.github/workflows/pythonpackage.yml ‎.github/workflows/packaging.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
name: Python package
1+
name: Packaging
22

3-
on: [push, release]
3+
on:
4+
# Make sure packaging process is not broken
5+
push:
6+
# Make a package for release
7+
release:
8+
types: [published]
49

510
jobs:
611
build:
@@ -24,5 +29,5 @@ jobs:
2429
run: python setup.py sdist bdist_wheel
2530
- uses: actions/upload-artifact@master
2631
with:
27-
name: dist
32+
name: tox-gh-actions-dist
2833
path: dist

0 commit comments

Comments
 (0)