github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
136989 | 1 | 27492 | 107914493 | actions/checkout@v3 | |||||
136990 | 2 | 27492 | 107914493 | actions/setup-python@v4 | Set up Python | {"python-version": "3.11"} | |||
136991 | 3 | 27492 | 107914493 | actions/cache@v3 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n"} | |||
136992 | 4 | 27492 | 107914493 | Install dependencies | pip install setuptools wheel twine | ||||
136993 | 5 | 27492 | 107914493 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} |