diff options
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 23 |
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 @@ | |||
1 | name: release | ||
2 | |||
3 | on: | ||
4 | push: | ||
5 | tags: | ||
6 | - 'release-*' | ||
7 | |||
8 | jobs: | ||
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 | ||