File tree 2 files changed +17
-4
lines changed
2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 6
6
release :
7
7
types : [published]
8
8
9
+ env :
10
+ USE_BAZEL_VERSION : " 7.2.1"
11
+
9
12
jobs :
10
13
build_sdist :
11
14
name : Build sdist
45
48
fail-fast : false
46
49
matrix :
47
50
os : [ubuntu]
48
- python-version : ['cp39', 'cp310']
51
+ python-version : ['cp310']
52
+ # python-version: ['cp39', 'cp310']
49
53
50
54
runs-on : ${{ format('{0}-latest', matrix.os) }}
51
55
steps :
@@ -67,14 +71,20 @@ jobs:
67
71
# Avoid downloading Bazel every time.
68
72
bazelisk-cache : true
69
73
# Store build cache per workflow.
70
- disk-cache : ${{ github.workflow }}
74
+ disk-cache : ${{ github.workflow }}-${{ hashFiles('.github/workflows/wheels.yml') }}
71
75
# Share repository cache between workflows.
72
76
repository-cache : true
73
77
78
+ - name : Verify bazel installation
79
+ run : |
80
+ which bazel
81
+ bazel info
82
+ bazel version
83
+
74
84
- name : Build wheels
75
85
run : |
76
- package_build/initialize.sh &&
77
- python package_build/tfx/setup.py bdist_wheel &&
86
+ package_build/initialize.sh
87
+ python package_build/tfx/setup.py bdist_wheel
78
88
python package_build/ml-pipelines-sdk/setup.py bdist_wheel
79
89
mv dist/*.whl wheelhouse/
80
90
Original file line number Diff line number Diff line change @@ -141,3 +141,6 @@ bazel-*
141
141
** /* _pb2.py
142
142
** /* _pb2_grpc.py
143
143
# LINT.ThenChange(.dockerignore)
144
+
145
+ MODULE.bazel
146
+ MODULE.bazel.lock
You can’t perform that action at this time.
0 commit comments