Skip to content

[Release] v2.1.1 (#1196) #622

[Release] v2.1.1 (#1196)

[Release] v2.1.1 (#1196) #622

Workflow file for this run

name: pypi
on:
push:
tags:
- 'v*'
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@v3
with:
python-version: "3.10"
- name: install
run: >-
python -m
pip install
build
--user
- name: build
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: publish
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}