0.6.7 #37
Workflow file for this run
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: Publish audoma to PyPI | |
on: | |
push: | |
tags: | |
- "[0-9]*.[0-9]*.[0-9]*" | |
jobs: | |
publish: | |
name: Publish the package on pypi | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v2 | |
- name: Set the python version | |
uses: actions/setup-python@v2 | |
# This is the version of python used to package the code. The unit | |
# tests will have run against python 3.6, 3.7 etc ensuring | |
# compatibility with those runtimes. | |
# https://github.com/axnsan12/drf-yasg/pull/741#discussion_r713297594 | |
with: | |
python-version: 3.8 | |
- name: Install pip dependencies | |
run: pip install -r requirements_dev.txt | |
- name: Build the distributions | |
run: python setup.py sdist bdist_wheel | |
- name: Publish the package | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
user: __token__ | |
password: ${{ secrets.AUDOMA_PYPI_TOKEN }} |