This repository was archived by the owner on Jun 22, 2025. It is now read-only.
Publish #26
Workflow file for this run
This file contains hidden or 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: Publish | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@master | |
| - name: Setup Python | |
| uses: actions/setup-python@master | |
| with: | |
| python-version: 3.x | |
| architecture: x64 | |
| - name: Install setuptools | |
| run: pip install setuptools | |
| - name: Build a source distribution | |
| run: python setup.py sdist | |
| - name: Publish to prod PyPI | |
| uses: pypa/gh-action-pypi-publish@4f4304928fc886cd021893f6defb1bd53d0a1e5a | |
| with: | |
| user: __token__ | |
| password: ${{ secrets.pypi_token }} |