Skip to content

prepare release v1.1.2 #41

prepare release v1.1.2

prepare release v1.1.2 #41

Workflow file for this run

name: PyPI source deployer
on:
push:
tags:
- 'v*'
jobs:
# Deploy source distribution
Source-dist:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Create source distribution
run: |
python -m pip install setuptools
python setup.py sdist --formats=zip
- name: Upload source package to PyPI
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
pip install twine
twine upload dist/*