Skip to content

Commit b947abb

Browse files
committed
depploy to pypi
1 parent 44477ef commit b947abb

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

.github/workflows/build-wheels.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff 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/

0 commit comments

Comments
 (0)