Skip to content

Commit 97d7b02

Browse files
committed
Re-enable publish_pypi
1 parent 2ea394f commit 97d7b02

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/python-packages.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -93,26 +93,26 @@ jobs:
9393
path: ./wheelhouse/*.whl
9494
retention-days: 7
9595

96-
# publish_pypi:
96+
publish_pypi:
9797

98-
# name: "Publish packages on PyPI"
99-
# runs-on: ubuntu-latest
100-
# needs:
101-
# - build_sdist
102-
# - build_wheels
98+
name: "Publish packages on PyPI"
99+
runs-on: ubuntu-latest
100+
needs:
101+
- build_sdist
102+
- build_wheels
103103

104-
# steps:
104+
steps:
105105

106-
# - name: "Download artifacts"
107-
# uses: actions/download-artifact@v4
106+
- name: "Download artifacts"
107+
uses: actions/download-artifact@v4
108108

109-
# - name: "Move packages to the dist/ folder"
110-
# run: |
111-
# mkdir dist/
112-
# mv sdist/* dist/
113-
# mv wheels-*/*.whl dist/
109+
- name: "Move packages to the dist/ folder"
110+
run: |
111+
mkdir dist/
112+
mv sdist/* dist/
113+
mv wheels-*/*.whl dist/
114114
115-
# - name: "Publish packages on PyPI"
116-
# uses: pypa/gh-action-pypi-publish@release/v1
117-
# with:
118-
# password: ${{ secrets.PYPI_API_TOKEN }}
115+
- name: "Publish packages on PyPI"
116+
uses: pypa/gh-action-pypi-publish@release/v1
117+
with:
118+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)