Skip to content

v1.6.5

v1.6.5 #84

Workflow file for this run

name: Build
on:
pull_request:
release:
types:
- published
jobs:
build_and_publish_wheel:
name: Build and publish wheel
runs-on: ubuntu-20.04
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/checkout@v2
# Include all history and tags, needed for building the right version
with:
fetch-depth: 0
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.8'
- name: Install datadog_checks_dev
run: |
python -m pip install datadog_checks_dev[cli]
- name: Set ddev pypi credentials
run: |
ddev config set pypi.user __token__
ddev config set pypi.pass ${{ secrets.PYPI_TOKEN }}
- name: Publish the wheel to PyPI
run: |
ddev release upload .