Version 0.8.3 #65
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.8] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
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 (not-test) PyPi | |
run: twine upload -u "__token__" -p "${{ secrets.pypi_password }}" dist/* | |
- name: Publish package to TestPyPI | |
run: twine upload -u "__token__" -p "${{ secrets.test_pypi_password }}" -r testpypi dist/* |