Skip to content

Update action with 2FA (#522) #41

Update action with 2FA (#522)

Update action with 2FA (#522) #41

Workflow file for this run

name: Publish release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+.[0-9]+'
jobs:
publish-release:
runs-on: ubuntu-22.04
env:
VERSION: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- run: pip install -e '.[dev]'
- run: python -m build
- name: Publish
run:
twine upload
-u __token__
-p ${{ secrets.PYPI_API_TOKEN }}
dist/*