Skip to content

Update CHANGELOG.md #20

Update CHANGELOG.md

Update CHANGELOG.md #20

---
# https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
name: Publish 📦 to PyPI
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
deploy-to-pypi:
if: github.repository_owner == 'Argmaster'
name: Deploy 📦
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
- name: Set up Python 3.8
uses: actions/setup-python@v4.7.0
with:
python-version: "3.8"
architecture: "x64"
- name: Install Poetry 📜
run: pip install poetry==1.8.4
- name: Install base dependencies 🗄️
run: poetry install --no-cache
- name: Build distribution 📦
run: poetry run poetry build
- name: Publish distribution 📦 to PyPI
# Executed only for version tag push event
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}