File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 6666 bazel-version : ${{ env.BAZEL_VERSION}}
6767 github-api-token : ${{ secrets.GITHUB_TOKEN }}
6868 - name : Build wheels
69- if : github.event_name != 'pull_request' || matrix.py-version == env.MIN_PY_VERSION || matrix.py-version == env.MAX_PY_VERSION
7069 env :
7170 OS : ${{ runner.os }}
7271 PY_VERSION : ${{ matrix.py-version }}
7574 shell : bash
7675 run : bash .github/workflows/make_wheel_${OS}.sh
7776 - uses : actions/upload-artifact@v1
78- if : github.event_name != 'pull_request' || matrix.py-version == env.MIN_PY_VERSION || matrix.py-version == env.MAX_PY_VERSION
7977 with :
8078 name : ${{ runner.os }}-${{ matrix.py-version }}-tf${{ matrix.tf-version }}-wheel
8179 path : wheelhouse
@@ -90,12 +88,10 @@ jobs:
9088 fail-fast : false
9189 steps :
9290 - uses : actions/download-artifact@v1
93- if : github.event_name != 'pull_request' || matrix.py-version == env.MIN_PY_VERSION || matrix.py-version == env.MAX_PY_VERSION
9491 with :
9592 name : ${{ matrix.os }}-${{ matrix.py-version }}-tf2.2.0rc4-wheel
9693 path : ./dist
97- - if : github.event_name != 'pull_request' || matrix.py-version == env.MIN_PY_VERSION || matrix.py-version == env.MAX_PY_VERSION
98- run : |
94+ - run : |
9995 set -e -x
10096 ls -la dist/
10197 sha256sum dist/*.whl
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ RUN mv /usr/bin/lsb_release2 /usr/bin/lsb_release
2323ARG PY_VERSION
2424RUN ln -sf $(which python$PY_VERSION) /usr/bin/python
2525
26- RUN python -m pip install --upgrade pip==20.0.2 auditwheel==2.0.0
26+ RUN python -m pip install --upgrade pip==19.0 auditwheel==2.0.0
2727
2828ARG TF_VERSION
2929RUN python -m pip install tensorflow==$TF_VERSION
You can’t perform that action at this time.
0 commit comments