Commit 76ba1fc 1 parent a2587aa commit 76ba1fc Copy full SHA for 76ba1fc
File tree 1 file changed +16
-8
lines changed
1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,17 @@ jobs:
19
19
with :
20
20
fetch-depth : 0
21
21
22
- - name : Build wheels
23
- uses : pypa/cibuildwheel@v2.21.1
22
+ # - name: Build wheels
23
+ # uses: pypa/cibuildwheel@v2.21.1
24
+
25
+ - run :
26
+ echo "hello" > dist/pytsql-wheel-${{ matrix.os }}.whl
24
27
25
28
- uses : actions/upload-artifact@v4
26
29
with :
30
+ name : pytsql-wheel-${{ matrix.os }}
27
31
path : ./wheelhouse/*.whl
32
+ if-no-files-found : error
28
33
29
34
build_sdist :
30
35
name : Build source distribution
@@ -39,20 +44,23 @@ jobs:
39
44
40
45
- uses : actions/upload-artifact@v4
41
46
with :
47
+ name : pytsql-sdist-${{ matrix.os }}
42
48
path : dist/*.tar.gz
49
+ if-no-files-found : error
43
50
44
51
upload_pypi :
45
52
name : Upload to PyPI
46
53
needs : [build_wheels, build_sdist]
47
54
runs-on : ubuntu-latest
48
- if : github.event_name == 'release' && github.event.action == 'published'
55
+ # if: github.event_name == 'release' && github.event.action == 'published'
49
56
steps :
50
57
- uses : actions/download-artifact@v4
51
58
with :
52
- name : artifact
59
+ pattern : pytsql-*
60
+ merge-multiple : true
53
61
path : dist
54
62
55
- - uses : pypa/gh-action-pypi-publish@v1.10.2
56
- with :
57
- user : __token__
58
- password : ${{ secrets.PYPI_TOKEN }}
63
+ # - uses: pypa/gh-action-pypi-publish@v1.10.2
64
+ - run :
65
+ ls dist
66
+
You can’t perform that action at this time.
0 commit comments