Commit 4ea11ec 1 parent c7b287b commit 4ea11ec Copy full SHA for 4ea11ec
File tree 1 file changed +5
-11
lines changed
1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 20
20
with :
21
21
fetch-depth : 0
22
22
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
29
25
30
26
- uses : actions/upload-artifact@v4
31
27
with :
@@ -53,16 +49,14 @@ jobs:
53
49
upload_pypi :
54
50
name : Upload to PyPI
55
51
needs : [build_wheels, build_sdist]
52
+ environment : pypi
56
53
runs-on : ubuntu-latest
57
- # if: github.event_name == 'release' && github.event.action == 'published'
54
+ if : github.event_name == 'release' && github.event.action == 'published'
58
55
steps :
59
56
- uses : actions/download-artifact@v4
60
57
with :
61
58
pattern : pytsql-*
62
59
merge-multiple : true
63
60
path : dist
64
61
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
You can’t perform that action at this time.
0 commit comments