Version 4.2 #8
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: CI deploy | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup python for test ${{ matrix.python }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
- name: Add poetry | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: "1.4.0" | |
- uses: actions/checkout@v2 | |
- name: Set poetry token | |
run: poetry config http-basic.pypi __token__ ${{ secrets.POETRY_TOKEN }} | |
- name: Publish to pypi | |
run: poetry publish --build |