Skip to content

Commit 4ea11ec

Browse files
committed
Remove debug statements.
1 parent c7b287b commit 4ea11ec

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/build_and_publish.yml

+5-11
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,8 @@ jobs:
2020
with:
2121
fetch-depth: 0
2222

23-
#- name: Build wheels
24-
# uses: pypa/cibuildwheel@v2.21.1
25-
26-
- run: |
27-
mkdir wheelhouse
28-
echo "hello" > wheelhouse/pytsql-wheel-${{ matrix.os }}.whl
23+
- name: Build wheels
24+
uses: pypa/cibuildwheel@v2.21.1
2925

3026
- uses: actions/upload-artifact@v4
3127
with:
@@ -53,16 +49,14 @@ jobs:
5349
upload_pypi:
5450
name: Upload to PyPI
5551
needs: [build_wheels, build_sdist]
52+
environment: pypi
5653
runs-on: ubuntu-latest
57-
# if: github.event_name == 'release' && github.event.action == 'published'
54+
if: github.event_name == 'release' && github.event.action == 'published'
5855
steps:
5956
- uses: actions/download-artifact@v4
6057
with:
6158
pattern: pytsql-*
6259
merge-multiple: true
6360
path: dist
6461

65-
#- uses: pypa/gh-action-pypi-publish@v1.10.2
66-
- run:
67-
ls dist
68-
62+
- uses: pypa/gh-action-pypi-publish@v1.10.2

0 commit comments

Comments
 (0)