v1.1.0 #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Python SDK | |
on: | |
release: | |
types: [published] | |
env: | |
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
- name: Install packaging tools | |
run: | | |
python -m pip install --upgrade pip | |
pip install twine | |
pip install poetry | |
- name: Build package | |
run: | | |
poetry build | |
- name: Verify package | |
run: | | |
twine check dist/* | |
- name: Release package | |
run: | | |
twine upload dist/* |