Skip to content

Commit 168bfb5

Browse files
committed
debug: add twine version output and fix quote escaping
1 parent 5eb9711 commit 168bfb5

1 file changed

Lines changed: 19 additions & 9 deletions

File tree

.github/workflows/pythonpackage.yml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install cibuildwheel
2222
run: |
2323
python3 -m pip install --upgrade pip
24-
python3 -m pip install cibuildwheel 'twine>=6.0.0'
24+
python3 -m pip install cibuildwheel "twine>=6.0.0"
2525
2626
- name: 🛠 Build and Test Hexhamming Python C extension
2727
run: cibuildwheel
@@ -32,7 +32,9 @@ jobs:
3232
CIBW_BUILD_VERBOSITY: 1
3333

3434
- name: Check built wheels
35-
run: twine check wheelhouse/*
35+
run: |
36+
twine --version
37+
twine check wheelhouse/*
3638
3739
sdist:
3840
if: startsWith(github.ref, 'refs/tags')
@@ -61,7 +63,9 @@ jobs:
6163
run: uv pip install --system wheelhouse/*.tar.gz
6264

6365
- name: Check sdist
64-
run: twine check wheelhouse/*
66+
run: |
67+
twine --version
68+
twine check wheelhouse/*
6569
6670
- name: Upload sdist
6771
uses: actions/upload-artifact@v4.4.3
@@ -85,7 +89,7 @@ jobs:
8589
- name: Install cibuildwheel
8690
run: |
8791
python3 -m pip install --upgrade pip
88-
python3 -m pip install cibuildwheel 'twine>=6.0.0'
92+
python3 -m pip install cibuildwheel "twine>=6.0.0"
8993
9094
- name: 🛠 Build Hexhamming Python C extension
9195
run: cibuildwheel
@@ -101,7 +105,9 @@ jobs:
101105
CIBW_BUILD_VERBOSITY: 1
102106

103107
- name: Check built wheels
104-
run: twine check wheelhouse/*
108+
run: |
109+
twine --version
110+
twine check wheelhouse/*
105111
106112
- name: Upload built wheels
107113
uses: actions/upload-artifact@v4.4.3
@@ -132,7 +138,7 @@ jobs:
132138
- name: Install cibuildwheel
133139
run: |
134140
python3 -m pip install --upgrade pip
135-
python3 -m pip install cibuildwheel 'twine>=6.0.0'
141+
python3 -m pip install cibuildwheel "twine>=6.0.0"
136142
137143
- name: 🛠 Build Hexhamming Python C extension
138144
run: cibuildwheel
@@ -144,7 +150,9 @@ jobs:
144150
CIBW_BUILD_VERBOSITY: 1
145151

146152
- name: Check built wheels
147-
run: twine check wheelhouse/*
153+
run: |
154+
twine --version
155+
twine check wheelhouse/*
148156
149157
- name: Upload built wheels
150158
uses: actions/upload-artifact@v4.4.3
@@ -164,7 +172,7 @@ jobs:
164172
- name: Install cibuildwheel
165173
run: |
166174
python3 -m pip install --upgrade pip
167-
python3 -m pip install cibuildwheel 'twine>=6.0.0'
175+
python3 -m pip install cibuildwheel "twine>=6.0.0"
168176
169177
- name: 🛠 Build Hexhamming Python C extension
170178
run: cibuildwheel
@@ -176,7 +184,9 @@ jobs:
176184
CIBW_BUILD_VERBOSITY: 1
177185

178186
- name: Check built wheels
179-
run: twine check wheelhouse/*
187+
run: |
188+
twine --version
189+
twine check wheelhouse/*
180190
181191
- name: Upload built wheels
182192
uses: actions/upload-artifact@v4.4.3

0 commit comments

Comments
 (0)