We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3b73bd9 + 87a7ae8 commit 9b36ed0Copy full SHA for 9b36ed0
.github/workflows/release.yml
@@ -0,0 +1,27 @@
1
+# this file is *not* meant to cover or endorse the use of GitHub Actions, but rather to
2
+# help make automated releases for this project
3
+
4
+name: Release
5
6
+on:
7
+ push:
8
+ branches:
9
+ - master
10
11
+jobs:
12
+ build-and-publish:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v1
18
+ with:
19
+ python-version: '3.x'
20
+ - name: Install build dependencies
21
+ run: pip install -U setuptools wheel build
22
+ - name: Build
23
+ run: python -m build .
24
+ - name: Publish
25
+ uses: pypa/gh-action-pypi-publish@master
26
27
+ password: ${{ secrets.pypi_password }}
0 commit comments