Skip to content

Merge pull request #73 from Dynatrace-James-Kitson/mz-selector-metric… #173

Merge pull request #73 from Dynatrace-James-Kitson/mz-selector-metric…

Merge pull request #73 from Dynatrace-James-Kitson/mz-selector-metric… #173

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 }}