@@ -39,45 +39,45 @@ jobs:
39
39
# separate accounts). Once complete, uncomment the "Publish distribution"
40
40
# sections below.
41
41
#
42
- publish-to-testpypi :
43
- name : Publish to TestPyPI
44
- if : startsWith(github.ref, 'refs/tags/')
45
- needs :
46
- - build
47
- runs-on : ubuntu-latest
48
- environment :
49
- name : testpypi
50
- url : https://test.pypi.org/p/<pypi-package-name>
51
- permissions :
52
- id-token : write
53
- steps :
54
- - name : Download all the dists
55
- uses : actions/download-artifact@v3
56
- with :
57
- name : python-package-distributions
58
- path : dist/
59
- # - name: Publish distribution TestPyPI
60
- # uses: pypa/gh-action-pypi-publish@release/v1
61
- # with:
62
- # repository-url: https://test.pypi.org/legacy/
63
-
64
- publish-to-pypi :
65
- name : Publish to PyPI
66
- if : startsWith(github.ref, 'refs/tags/')
67
- needs :
68
- - build
69
- - publish-to-testpypi
70
- runs-on : ubuntu-latest
71
- environment :
72
- name : pypi
73
- url : https://pypi.org/p/<pypi-package-name>
74
- permissions :
75
- id-token : write
76
- steps :
77
- - name : Download dists from
78
- uses : actions/download-artifact@v3
79
- with :
80
- name : python-package-distributions
81
- path : dist/
82
- # - name: Publish distribution to PyPI
83
- # uses: pypa/gh-action-pypi-publish@release/v1
42
+ # publish-to-testpypi:
43
+ # name: Publish to TestPyPI
44
+ # if: startsWith(github.ref, 'refs/tags/')
45
+ # needs:
46
+ # - build
47
+ # runs-on: ubuntu-latest
48
+ # environment:
49
+ # name: testpypi
50
+ # url: https://test.pypi.org/p/<pypi-package-name>
51
+ # permissions:
52
+ # id-token: write
53
+ # steps:
54
+ # - name: Download all the dists
55
+ # uses: actions/download-artifact@v3
56
+ # with:
57
+ # name: python-package-distributions
58
+ # path: dist/
59
+ # # - name: Publish distribution TestPyPI
60
+ # # uses: pypa/gh-action-pypi-publish@release/v1
61
+ # # with:
62
+ # # repository-url: https://test.pypi.org/legacy/
63
+ #
64
+ # publish-to-pypi:
65
+ # name: Publish to PyPI
66
+ # if: startsWith(github.ref, 'refs/tags/')
67
+ # needs:
68
+ # - build
69
+ # - publish-to-testpypi
70
+ # runs-on: ubuntu-latest
71
+ # environment:
72
+ # name: pypi
73
+ # url: https://pypi.org/p/<pypi-package-name>
74
+ # permissions:
75
+ # id-token: write
76
+ # steps:
77
+ # - name: Download dists from
78
+ # uses: actions/download-artifact@v3
79
+ # with:
80
+ # name: python-package-distributions
81
+ # path: dist/
82
+ # # - name: Publish distribution to PyPI
83
+ # # uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments