Skip to content

Merge pull request #2979 from AndreMiras/feature/test_get_dep_names_o… #202

Merge pull request #2979 from AndreMiras/feature/test_get_dep_names_o…

Merge pull request #2979 from AndreMiras/feature/test_get_dep_names_o… #202

Workflow file for this run

name: PyPI release
on: [push]
jobs:
pypi_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade setuptools wheel twine
- name: Build
run: |
python setup.py sdist bdist_wheel
twine check dist/*
- name: Publish package
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@v1.4.2
with:
user: __token__
password: ${{ secrets.pypi_password }}