Skip to content

Fixed case where code would try to unlock a file handle externally ma… #4

Fixed case where code would try to unlock a file handle externally ma…

Fixed case where code would try to unlock a file handle externally ma… #4

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/