We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d484c86 commit 069e5d1Copy full SHA for 069e5d1
1 file changed
.github/workflows/publish-to-test-pypi.yml
@@ -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
20
+ password: ${{ secrets.testpypi_password }}
21
+ repository_url: https://test.pypi.org/legacy/
0 commit comments