aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
blob: f47c613d63eb138563cbda72d6b29e86705303b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: release

on:
  push:
    tags:
    - 'release-*'

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - uses: actions/setup-python@v2
        with:
          python-version: 3.8

      - env:
          TWINE_PASSWORD: ${{ secrets.PYPI_API_KEY }}
        run: |
          pip install tox
          tox -e tests,release,upload