Skip to content

Commit 069e5d1

Browse files
committed
Add Github workflow for build & publish
1 parent d484c86 commit 069e5d1

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 🔨 Build and 📦 publish distribution to TestPyPI
2+
on: push
3+
4+
jobs:
5+
build-n-publish:
6+
name: 🔨 Build and 📦 publish distribution to TestPyPI
7+
runs-on: ubuntu-18.04
8+
steps:
9+
- uses: actions/checkout@master
10+
- name: Set up Python 3.7
11+
uses: actions/setup-python@v1
12+
with:
13+
python-version: 3.7
14+
- name: 🔨 Build a binary wheel and a source tarball
15+
run: >-
16+
python setup.py sdist bdist_wheel
17+
- name: 📦 Publish to TestPyPI
18+
uses: pypa/gh-action-pypi-publish@master
19+
with:
20+
password: ${{ secrets.testpypi_password }}
21+
repository_url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)