@@ -138,7 +138,7 @@ jobs:
138
138
user : __token__
139
139
password : ${{ secrets.PYPI_PASSWORD }}
140
140
141
- build-python-wheels :
141
+ build-python-wheel :
142
142
name : Build wheels on ${{ matrix.os }}
143
143
runs-on : ${{ matrix.os }}
144
144
strategy :
@@ -216,7 +216,7 @@ jobs:
216
216
217
217
verify-python-wheel :
218
218
runs-on : ${{ matrix.os }}
219
- needs : [build-python-wheels , build-source-distribution]
219
+ needs : [build-python-wheel , build-source-distribution]
220
220
strategy :
221
221
matrix :
222
222
os : [ubuntu-latest, macos-10.15 ]
@@ -256,16 +256,17 @@ jobs:
256
256
cd dist/
257
257
pip install wheel
258
258
for f in *.whl; do pip install $f || true; done
259
- - name : Install go from sdist
260
- if : ${{ matrix.from-source }}
259
+ - name : Install dist with go
260
+ if : ${{ matrix.from-source && (matrix.python-version != '3.10' || matrix.os == 'ubuntu-latest') }}
261
261
env :
262
262
COMPILE_GO : " True"
263
263
run : |
264
264
pip install 'grpcio-tools==1.44.0' 'pybindgen==0.22.0'
265
265
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26.0
266
266
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1.0
267
- - name : Install dist
268
- if : ${{ matrix.from-source }}
267
+ pip install dist/*tar.gz
268
+ - name : Install dist w/o go
269
+ if : ${{ matrix.from-source && matrix.python-version == '3.10' && matrix.os == 'macos-10.15'}}
269
270
run : pip install dist/*tar.gz
270
271
- name : Install OS X dependencies
271
272
if : matrix.os == 'macos-10.15'
0 commit comments