Skip to content

Merge pull request #16 from debakarr/bump-cd-python310 #13

Merge pull request #16 from debakarr/bump-cd-python310

Merge pull request #16 from debakarr/bump-cd-python310 #13

Workflow file for this run

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.10"
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: "1.1.14"
- 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