Refactor retrieve_uris function to use a simple for loop instead of T… #1569
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: release | |
| on: push | |
| jobs: | |
| publish-pypi: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2.4.0 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v2.3.1 | |
| with: | |
| python-version: 3.13 | |
| - name: Install dependencies | |
| run: pip install -qU setuptools wheel twine | |
| - name: Generating distribution archives | |
| run: python setup.py sdist bdist_wheel | |
| - name: Publish distribution 📦 to PyPI | |
| if: startsWith(github.event.ref, 'refs/tags') | |
| uses: pypa/gh-action-pypi-publish@master | |
| with: | |
| user: __token__ | |
| password: ${{ secrets.pypi_password }} |