tested + smol fix #6
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: Upload express-relay Python Package to PyPI | |
on: | |
push: | |
tags: | |
- "python-v*" | |
env: | |
PYTHON_VERSION: "3.11" | |
jobs: | |
publish-python: | |
name: Publish Python SDK Package to PyPI | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade poetry | |
poetry install | |
working-directory: "sdk/python/express_relay" | |
- name: Build and publish | |
run: | | |
poetry build | |
poetry publish --username __token__ --password ${{ secrets.PYPI_TOKEN }} | |
working-directory: "sdk/python/express_relay" |