Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

v1.31.2

v1.31.2 #88

Workflow file for this run

name: Upload Python Package
on:
release:
types: [ created ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
trigger-acceptance-tests:
needs: deploy
runs-on: ubuntu-latest
steps:
- uses: distributhor/workflow-webhook@v3
with:
webhook_url: ${{ secrets.ACCEPTANCE_TESTS_WEBHOOK_URL }}
webhook_secret: ${{ secrets.ACCEPTANCE_TESTS_WEBHOOK_SECRET }}