Skip to content

Deprecate pkg_resources #25

Deprecate pkg_resources

Deprecate pkg_resources #25

Workflow file for this run

name: Release
on: release
jobs:
build-n-publish:
name: pypi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: '3.10'
- name: Install setuptools
run: >-
python -m
pip install
setuptools
--user
- name: Install wheel
run: >-
python -m
pip install
wheel
--user
- name: Build a binary wheel
run: >-
python
setup.py
sdist
bdist_wheel
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}