File tree Expand file tree Collapse file tree 1 file changed +5
-21
lines changed
Expand file tree Collapse file tree 1 file changed +5
-21
lines changed Original file line number Diff line number Diff line change 66 - ' v[0-9]+.[0-9]+.[0-9]+'
77
88jobs :
9- build :
10- name : Build
9+ deploy :
10+ name : Deploy
1111 runs-on : ubuntu-latest
12+ environment : pypi
13+ permissions :
14+ id-token : write
1215 steps :
1316 - name : Check out code
1417 uses : actions/checkout@v4
2831 python -m build
2932 python -m twine check dist/*
3033
31- - name : Upload artifacts
32- uses : actions/upload-artifact@v4
33- with :
34- path : ./dist
35-
36- publish :
37- name : Publish
38- needs : [build]
39- runs-on : ubuntu-latest
40- environment : pypi
41- permissions :
42- id-token : write
43- steps :
44- - name : Download artifacts
45- uses : actions/download-artifact@v4
46-
4734 - name : Publish to TestPyPI
4835 uses : pypa/gh-action-pypi-publish@release/v1
4936 with :
5037 repository-url : https://test.pypi.org/legacy/
51-
52- - name : Publish to PyPI
53- uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments