Skip to content

Development PyPI

Development PyPI #57

Workflow file for this run

name: Development Pypi
on:
push:
tags:
- "*-*"
jobs:
pypi:
name: Pypi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@master
with:
python-version: 3.9
- name: Installing building dependencies
run: |
python -m pip install build twine wheel setuptools_scm setuptools
- name: Build the project
run: |
python -m build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
user: __token__
password: ${{ secrets.DEV_PYPI_API_TOKEN }}
packages_dir: dist/