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