Skip to content

Version bump to 0.2.0, supporting to switch from shared lock to exclu… #3

Version bump to 0.2.0, supporting to switch from shared lock to exclu…

Version bump to 0.2.0, supporting to switch from shared lock to exclu… #3

Workflow file for this run

name: PyPI Deployment
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags'A
on:
push:
tags:
- v*
jobs:
testpypi:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Python environment
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install development dependencies
uses: py-actions/[email protected]
with:
path: "dev-requirements.txt"
- name: Build packages to be uploaded
run: python -m build
- name: pypi-publish
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/