File tree Expand file tree Collapse file tree 1 file changed +26
-26
lines changed
Expand file tree Collapse file tree 1 file changed +26
-26
lines changed Original file line number Diff line number Diff line change @@ -87,41 +87,41 @@ jobs:
8787 name : cibw-sdist
8888 path : dist/*.tar.gz
8989
90- # upload_pypi:
91- # name: Publish to PyPI
92- # needs: [build_wheels, build_sdist]
93- # runs-on: ubuntu-latest
94- # environment:
95- # name: pypi
96- # permissions:
97- # id-token: write
98- # # if: github.event_name == 'release' && github.event.action == 'published'
99- # steps:
100- # - uses: actions/download-artifact@v4
101- # with:
102- # pattern: cibw-*
103- # path: dist
104- # merge-multiple: true
105-
106- # - uses: pypa/gh-action-pypi-publish@release/v1
107-
108- upload_test_pypi :
109- name : Publish to TestPyPI
90+ upload_pypi :
91+ name : Publish to PyPI
11092 needs : [build_wheels, build_sdist]
11193 runs-on : ubuntu-latest
11294 environment :
113- name : testpypi
114- url : https://test.pypi.org/p/odrpack
95+ name : pypi
11596 permissions :
11697 id-token : write
117- if : ${{ github.event_name == 'workflow_dispatch' }}
98+ # if: github.event_name == 'release' && github.event.action == 'published'
11899 steps :
119100 - uses : actions/download-artifact@v4
120101 with :
121102 pattern : cibw-*
122103 path : dist
123104 merge-multiple : true
124-
105+
125106 - uses : pypa/gh-action-pypi-publish@release/v1
126- with :
127- repository-url : https://test.pypi.org/legacy/
107+
108+ # upload_test_pypi:
109+ # name: Publish to TestPyPI
110+ # needs: [build_wheels, build_sdist]
111+ # runs-on: ubuntu-latest
112+ # environment:
113+ # name: testpypi
114+ # url: https://test.pypi.org/p/odrpack
115+ # permissions:
116+ # id-token: write
117+ # if: ${{ github.event_name == 'workflow_dispatch' }}
118+ # steps:
119+ # - uses: actions/download-artifact@v4
120+ # with:
121+ # pattern: cibw-*
122+ # path: dist
123+ # merge-multiple: true
124+
125+ # - uses: pypa/gh-action-pypi-publish@release/v1
126+ # with:
127+ # repository-url: https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments