v3.0.2 #13
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: Release Packages | |
on: | |
release: | |
types: | |
- released | |
jobs: | |
release-to-pypi: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install requirements for python3 | |
run: pip3 install -r requirements.txt | |
- name: package and upload python3 | |
env: | |
TWINE_USERNAME: __token__ | |
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} | |
PYTHON_DATEMATH_VERSION: ${{ github.event.release.tag_name }} | |
run: | | |
python3 setup.py sdist bdist_wheel | |
twine upload dist/* |