From 8cc21510f09b8cec7b7d9f9286158fe903549ee7 Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 2 Jan 2021 11:13:20 +0000 Subject: [PATCH] Bump --- .github/workflows/release.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..210cdf7 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,34 @@ +name: release + +on: + push: + branches: + - deploy + tags-ignore: + - v* + +jobs: + release: + runs-on: ubuntu-latest + env: + PYTHON_ENV: ci + PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + QMBOT_TOKEN: ${{ secrets.QMBOT_TOKEN }} + + strategy: + matrix: + python-version: [3.6, 3.7, 3.8, 3.9] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dev dependencies + run: make install + - name: test version + run: make test-version + - name: release to pypi + if: matrix.python-version == '3.9' + run: make release-pypi