Version 0.7.10 #60
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: Deploy Release | |
on: | |
release: | |
types: [released] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: pip install wheel twine | |
- name: Build distribution | |
run: python setup.py sdist bdist_wheel | |
- name: Publish package to TestPyPI | |
run: twine upload -u "__token__" -p "${{ secrets.test_pypi_password }}" -r testpypi dist/* | |
- name: Publish package to (not-test) PyPi | |
run: twine upload -u "__token__" -p "${{ secrets.pypi_password }}" dist/* |