Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca committed Jan 2, 2021
1 parent e328326 commit 8cc2151
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8cc2151

Please sign in to comment.