Release #2
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 | |
on: | |
release: | |
types: [published] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Change to SDK directory | |
run: cd python | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version: '3.10.10' | |
#---------------------------------------------- | |
# ----- install & configure poetry ----- | |
#---------------------------------------------- | |
- name: Install and configure Poetry | |
uses: snok/[email protected] | |
with: | |
version: 1.4.2 | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
installer-parallel: true | |
# The following steps will now execute in the python/sdk directory | |
- run: poetry build | |
- run: poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }} |