Skip to content

Commit cd15c71

Browse files
committed
Revert deploy workflow
1 parent 0823ae1 commit cd15c71

1 file changed

Lines changed: 25 additions & 28 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ name: Build and deploy
33
on:
44
release:
55
types: [published]
6-
push:
7-
branches:
8-
- py314
96
workflow_dispatch:
107

118
jobs:
@@ -86,28 +83,28 @@ jobs:
8683
name: artifacts-${{ matrix.os }}
8784
path: ./wheelhouse/*.whl
8885

89-
# pypi-publish:
90-
# name: Upload release to PyPI
91-
# runs-on: ubuntu-latest
92-
# needs: [build_sdist, build_wheels]
93-
# environment:
94-
# name: pypi
95-
# url: https://pypi.org/p/pyKVFinder
96-
# permissions:
97-
# id-token: write
98-
99-
# steps:
100-
# - uses: actions/setup-python@v5
101-
# with:
102-
# python-version: 3.x
103-
104-
# - uses: actions/download-artifact@v4
105-
# with:
106-
# path: ./dist
107-
# pattern: artifacts-*
108-
# merge-multiple: true
109-
110-
# - name: Publish package distributions to PyPI
111-
# uses: pypa/gh-action-pypi-publish@release/v1
112-
# with:
113-
# password: ${{ secrets.PYPI_API_TOKEN }}
86+
pypi-publish:
87+
name: Upload release to PyPI
88+
runs-on: ubuntu-latest
89+
needs: [build_sdist, build_wheels]
90+
environment:
91+
name: pypi
92+
url: https://pypi.org/p/pyKVFinder
93+
permissions:
94+
id-token: write
95+
96+
steps:
97+
- uses: actions/setup-python@v5
98+
with:
99+
python-version: 3.x
100+
101+
- uses: actions/download-artifact@v4
102+
with:
103+
path: ./dist
104+
pattern: artifacts-*
105+
merge-multiple: true
106+
107+
- name: Publish package distributions to PyPI
108+
uses: pypa/gh-action-pypi-publish@release/v1
109+
with:
110+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)