github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
136911 | 1 | 27475 | 197882382 | actions/checkout@v2 | |||||
136912 | 2 | 27475 | 197882382 | actions/setup-python@v2 | Set up Python | {"python-version": "3.9"} | |||
136913 | 3 | 27475 | 197882382 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n"} | |||
136914 | 4 | 27475 | 197882382 | Install dependencies | pip install setuptools wheel twine | ||||
136915 | 5 | 27475 | 197882382 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} |