aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..f47c613
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,23 @@
1name: release
2
3on:
4 push:
5 tags:
6 - 'release-*'
7
8jobs:
9 build:
10 runs-on: ubuntu-latest
11
12 steps:
13 - uses: actions/checkout@v2
14
15 - uses: actions/setup-python@v2
16 with:
17 python-version: 3.8
18
19 - env:
20 TWINE_PASSWORD: ${{ secrets.PYPI_API_KEY }}
21 run: |
22 pip install tox
23 tox -e tests,release,upload