Skip to content

Merge pull request #88 from Dynatrace-James-Kitson/kitson #182

Merge pull request #88 from Dynatrace-James-Kitson/kitson

Merge pull request #88 from Dynatrace-James-Kitson/kitson #182

Workflow file for this run

name: Build and publish to PyPi
on: push
jobs:
build-n-publish:
name: Build and publish to PyPi
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install --upgrade setuptools wheel
- name: Build
run: |
python setup.py sdist bdist_wheel
- name: Publish
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}