Logging handler to send logs to your OpenSearch cluster with bulk SSL. Forked from https://github.com/logzio/logzio-python-handler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
794 B

name: Pypi Release
on:
workflow_run:
workflows: ["CI Tests"]
branches: [master]
types:
- completed
# Allows you to run this workflow manually from the Actions tab
jobs:
build-and-release:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3.0.0
with:
python-version: '3.x'
- name: "Install dependencies"
run: |
python3 -m pip install setuptools wheel twine
- name: "Build and uploads to PyPI"
run: |
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_REPO_TOKEN }}