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