Skip to content

⬆ New version released with some updates. #1

⬆ New version released with some updates.

⬆ New version released with some updates. #1

Workflow file for this run

name: Publish Package
on:
push:
tags:
- v*
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Build
run: |
poetry self add "poetry-dynamic-versioning[plugin]"
rm -fr dist/ && poetry build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}