File tree Expand file tree Collapse file tree 1 file changed +28
-3
lines changed Expand file tree Collapse file tree 1 file changed +28
-3
lines changed Original file line number Diff line number Diff line change 1616 permissions :
1717 id-token : write
1818 steps :
19- # yamllint disable-line rule:line-length
20- - uses : paddyroddy/.github/actions/python/deployment@e267230bc5b4dd8170b46bcf864d6de7cf123d33 # v0
19+ - name : Checkout source
20+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
21+
22+ - name : Set up Python
23+ uses : actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5
2124 with :
22- pyproject-toml : ./pyproject.toml
2325 python-version : " 3.12"
26+ cache : pip
27+ cache-dependency-path : pyproject.toml
28+
29+ - name : Install dependencies
30+ shell : bash
31+ run : python -m pip install build
32+
33+ - name : Build distributions
34+ shell : bash
35+ run : python -m build
36+
37+ - name : Publish package to TestPyPI
38+ if : startsWith(github.ref, 'refs/tags/')
39+ uses : pypa/gh-action-pypi-publish@release/v1
40+ with :
41+ repository-url : https://test.pypi.org/legacy/
42+ verbose : true
43+
44+ - name : Publish package to PyPI
45+ if : startsWith(github.ref, 'refs/tags/')
46+ uses : pypa/gh-action-pypi-publish@release/v1
47+ with :
48+ verbose : true
You can’t perform that action at this time.
0 commit comments