Added expanded functionality and revamped the way the Middleware works. #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: release | |
# on: | |
# push: | |
# tags: | |
# - 'v[0-9]+.[0-9]+.[0-9]+' | |
# jobs: | |
# create-pypi-release: | |
# name: create-pypi-release | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v2 | |
# - name: Set up Python 3.7 | |
# uses: actions/setup-python@v1 | |
# with: | |
# python-version: 3.7 | |
# - name: Install the dependencies | |
# run: pip install --upgrade pip wheel setuptools | |
# - name: Build the distributions | |
# run: python setup.py sdist bdist_wheel | |
# - name: Upload to PyPI | |
# uses: pypa/gh-action-pypi-publish@master | |
# with: | |
# password: ${{ secrets.PYPI_TOKEN }} | |
# create-gh-releases-release: | |
# name: create-gh-releases-release | |
# runs-on: ubuntu-latest | |
# env: | |
# VERSION: | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v2 | |
# - name: Get the version | |
# run: echo ::set-env name=VERSION::${GITHUB_REF#refs/tags/} | |
# - name: Create release | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# uses: actions/create-release@v1 | |
# with: | |
# tag_name: ${{ env.VERSION }} | |
# release_name: ${{ env.VERSION }} |