Skip to content

v1.4.6

v1.4.6 #23

Workflow file for this run

name: PyPI Build
on:
release:
types: released
jobs:
pypi-publish:
name: Upload Release to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write
strategy:
matrix:
python-version: [3.9]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade setuptools wheel
- name: Build
run: python setup.py sdist bdist_wheel
- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository_url: https://test.pypi.org/legacy/
skip_existing: true
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true