Bump poetry to 1.7.1 (#17) #14
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: CD | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8" | |
- name: Run image | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: "1.7.1" | |
- name: Bump version | |
run: poetry version ${{github.ref_name}} | |
- name: Set credential | |
run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} | |
- name: Build and publish to pypi | |
run: poetry publish --build |