Skip to content

Commit 0ead91e

Browse files
committed
only disable the publish to prod step
1 parent c371ca7 commit 0ead91e

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@ jobs:
3434
name: dist
3535
path: dist/
3636

37-
# publish-pypi:
38-
# name: Publish to PyPI
39-
# needs: build
40-
# runs-on: ubuntu-latest
41-
# if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '-rc')
42-
# environment: pypi
43-
# permissions:
44-
# id-token: write
45-
# steps:
46-
# - name: Download distributions
47-
# uses: actions/download-artifact@v4
48-
# with:
49-
# name: dist
50-
# path: dist/
37+
publish-pypi:
38+
name: Publish to PyPI
39+
needs: build
40+
runs-on: ubuntu-latest
41+
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '-rc')
42+
environment: pypi
43+
permissions:
44+
id-token: write
45+
steps:
46+
- name: Download distributions
47+
uses: actions/download-artifact@v4
48+
with:
49+
name: dist
50+
path: dist/
5151

5252
# - name: Publish to PyPI
5353
# uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)