Skip to content

Adding pyroscope as an optional dependency #23

Adding pyroscope as an optional dependency

Adding pyroscope as an optional dependency #23

Workflow file for this run

name: Upload Python Package
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+rc[0-9]+' # Match tags in the format v0.3.0rc1
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install setuptools wheel build twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m build
twine upload dist/*
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}