Skip to content

Commit b57c866

Browse files
committedJul 13, 2023
Merge pull request tensorflow#61261 from MichaelHudgins:arm-64-release-branch-builds
PiperOrigin-RevId: 547866367
2 parents fff678b + bca2121 commit b57c866

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎.github/workflows/arm-cd.yml

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ on:
1919
push:
2020
tags:
2121
- v2.**
22+
branches:
23+
- r2.**
2224
schedule:
2325
- cron: '0 8 * * *'
2426

@@ -66,5 +68,6 @@ jobs:
6668
CI_DOCKER_BUILD_EXTRA_PARAMS="--build-arg py_major_minor_version=${{ matrix.pyver }} --build-arg is_nightly=${is_nightly} --build-arg tf_project_name=${tf_project_name}" \
6769
./tensorflow/tools/ci_build/ci_build.sh cpu.arm64 bash tensorflow/tools/ci_build/rel/ubuntu/cpu_arm64_pip.sh
6870
- name: Upload pip wheel to PyPI
71+
if: github.event_name == 'schedule' || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2')) # only if it is a scheduled nightly or tagged
6972
shell: bash
7073
run: python3 -m twine upload --verbose /home/ubuntu/actions-runner/_work/tensorflow/tensorflow/whl/* -u "__token__" -p ${{ secrets.AWS_PYPI_ACCOUNT_TOKEN }}

0 commit comments

Comments
 (0)
Please sign in to comment.