Bump core and cli versions #9
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: Publish CLI to Pypi | |
on: | |
push: | |
tags: | |
- "cli-v*.*.*" | |
jobs: | |
publish-cli: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10.12' | |
- name: Get Poetry | |
uses: abatilo/actions-poetry@v2.1.6 | |
with: | |
poetry-version: '1.5.1' | |
- name: Publish | |
env: | |
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | |
run: | | |
cd cli | |
poetry config repositories.pypi https://upload.pypi.org/legacy/ | |
poetry config pypi-token.pypi $PYPI_TOKEN | |
poetry publish --repository pypi --build |