Skip to content

Commit 991393f

Browse files
authored
Merge pull request #2 from loadsmart/github-actions
Change the way to do the release
2 parents 8edffdc + f5ef888 commit 991393f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
make venv
2929
- name: Build package
30-
run: make build
30+
run: make dist
3131
- name: Publish package
3232
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3333
with:

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,7 @@ tox-with-system-python:
3636
build:
3737
$(PYTHON_BIN)python setup.py build
3838
$(PYTHON_BIN)python setup.py install
39+
40+
dist:
41+
$(PYTHON_BIN)python setup.py build
42+
$(PYTHON_BIN)python setup.py sdist

0 commit comments

Comments
 (0)