Version bump to 0.2.0, supporting to switch from shared lock to exclu… #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ | |