Skip to content

Merge pull request #350 from BentsiLeviav/main #71

Merge pull request #350 from BentsiLeviav/main

Merge pull request #350 from BentsiLeviav/main #71

Workflow file for this run

---
name: "PyPI Release"
# yamllint disable-line rule:truthy
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
publish:
name: PyPI Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Upgrade Setuptools
run: pip install --upgrade setuptools wheel
- name: Build Distribution
run: python setup.py sdist bdist_wheel --universal
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}